I'm on Kubuntu 12.04 running C::B nightly build svn 8248 (from jens Lody repository).
My application uses boost that I have compiled from source and installed in a non-standard location. If I try to run the application from the command line I get the following error message at startup
error while loading shared libraries: libboost_thread.so.1.51.0: cannot open shared object file: No such file or directory
This is all quite logical as I am using boost::thread and didn't include the directory where boost is installed in LD_LIBRARY_PATH.
But what is surprising, is that the application starts just fine from within Code::Blocks.
How does C::B find the boost shared object files, when I haven't really told it where to look?