Some background info first: I'm using SUSE 10.1, and installed wxGTK and Code::Blocks (SVN trunk) from source using the instructions in the Wiki ("Installing from source on Linux"). I had to install an older version of GCC (4.0.3) to build CB due to the current issues with GCC 4.1 which comes with SUSE by default. So, I was able to build and install everything, but when I try to run CB I get this error:
codeblocks: error while loading shared libraries: libwx_gtk2u-2.6.so.0: cannot open shared object file: No such file or directory
Here's what I get from wx-config:
wx-config --prefix
/opt/wx/2.6
wx-config --libs
-L/opt/wx/2.6/lib -pthread -L/usr/X11R6/lib -lwx_gtk2u-2.6
which wx-config
/opt/wx/2.6/bin/wx-config
I also tried adding /opt/wx/2.6/lib to PATH (that's where libwx_gtk2u-2.6.so.0 is) but that didn't help. Any ideas what the problem could be?