I use a procedure to build a RPM for Code::Blocks. This procedure worked fine with wxWidgets up to 3.2.8. It doesn't work with wxWidgets 3.3.x.
I work on a "empty" AlmaLinux 9.6 computer so that /usr/local contains wxWidgets and C::B only.
I build wxWidgets, build and install its RPM.
Then I configure and build C::B without problem.
I install C::B with "sudo make install". It runs fine.
I remove wxWidgets and build the C::B RPM with the contents of /usr/local and the file /etc/ld.so.conf.d/wxContribItems.conf containing /usr/local/lib/codeblocks/wxContribItems/.
I remove C::B with "sudo make uninstall".
I install wxWidgets and C::B RPMs.
When C::B is run from the command line it fails with this message :
Loading toolbar...
addr2line: 'codeblocks': No such file
./src/aui/auibook.cpp(2881): assert "Assert failure" failed in FindTab(): Window unexpectedly not found in any tab control
It displays its splash window, a Debug report "codeblocks" dialog box, overlapped by an alert box with the message above.
If I reinstall C::B with "sudo make install" without removing the RPM it still fails with the same message.
If I remove it with "sudo make uninstall" and reinstall it with "sudo make install" without removing the RPM it works.
What's going wrong ?