warning: cannot find library libcodeblocks.so needed by debian/codeblocks/usr/lib/codeblocks/plugins/libabbreviations.so
error: no dependency information found for /opt/wx/lib/libwx_gtk3u_xrc-3.2.so.0 (used by debian/codeblocks/usr/lib/codeblocks/plugins/libabbreviations.so)
It looks like you get this error during installation of wxwidgets, right? I have not seen this particular error. Sounds like a checken-and-egg-problem.
Do you still have some stale files from a previous blunt make install lying around? In my Makefile in the directory above trunk the install target nukes at least the share and lib directories of cb from the previous install prior installing it again. That normally does the trick.
install:
-@if [ -d $(PREFIX)/share/codeblocks ]; then rm -rf $(PREFIX)/share/codeblocks; fi
-@if [ -d $(PREFIX)/lib/codeblocks ]; then rm -rf $(PREFIX)/lib/codeblocks; fi
(cd $(build) && $(MAKE) install)
mkdir -p $(PREFIX)/share/codeblocks/locale/de_DE
install -m 644 de_codeblocks.mo $(PREFIX)/share/codeblocks/locale/de_DE/de_codeblocks.mo
On arch, I still use that unsafe way without involving the package manager pacman. I know, I should use it.
And I move the whole (out-of-tree) build directory away into build.old.
My daily build command line for wxwidgtes as for cb, conviently recalled by Ctrl-r, looks like this:
$ rm -rf build.old; mv build build.old; make bootstrap && make config && time make -j 16
In the Makefile above wxwidgets' trunk directory, bootstrap is an empty target. In cb it looks like:
bootstrap:
(cd $(trunk) && ACLOCAL_FLAGS="-I `$(WX_PREFIX)/bin/wx-config --prefix`/share/aclocal" ./bootstrap )
It does not hurt if you call it again.
Did you recompile codeblocks after you recompiled and installed wxwidgets? When I start cb after having recompiled wxwidgets sometimes I get an unresolved reference. Looks like wxwidgets trunk is not always ABI compatible but rather API compatible. This should surprise anybody who is willing to use trunk prior release. Recompiling and reinstalling cb usually helps in these cases. The only occation when it did not was with wxwidgets recent change with wxBitmapBundle.
I assume, you created a file /etc/ld.so.conf.d/wxwidgets.conf which includes /opt/wx/lib. And that you called ldconfig afterwards.
asking ldd I get:
$ ldd /usr/local/lib/codeblocks/plugins/libabbreviations.so |grep libwx_gtk3u_xrc
libwx_gtk3u_xrc-3.2.so.0 => /opt/wx/lib/libwx_gtk3u_xrc-3.2.so.0 (0x00007f367be55000)
and
$ ldd /usr/local/lib/codeblocks/plugins/libabbreviations.so |grep libcodeb
libcodeblocks.so.0 => /usr/local/lib/libcodeblocks.so.0 (0x00007f5560a00000)
$ dpkg -S /opt/wx/lib/libwx_gtk3u_xrc-3.2.so.0
wxwidgets-trunk: /opt/wx/lib/libwx_gtk3u_xrc-3.2.so.0
I named the package wxwidgets-trunk with a minus sign in between.
Does it help you?