Hello,
when I try to start my console application from the terminal I get the following error:
"error while loading shared libraries: libboost_thread.so.1.45.0: cannot open shared object file: No such file or directory"
But it occurs only when I try to start the apllication from terminal. In Code::Blocks it is working properly.
I compiled the application with the following options:
- Linker settings -> Link libraries: "boost_thread"
- Search Directories -> Linker: "../boost/boost_1_45_0/stage/lib"
- The working directory is set to "."
My dir tree looks like:
./programm
./programm/boost/boost_1_45_0/stage/lib/
-> libboost_thread.so (which is a link to libboost_thread.so.1.45.0)
-> libboost_thread.so.1.45.0
./projectdir/
./projectdir/bin/Release
Also if I copy the two library files to the "Release" dir I'am getting the error.
I hope that's enough information otherwise please ask.