I have tried to run an example using the latest release of boost and I got the following error:

error while loading shared libraries: libboost_thread-gcc41-mt-1_34.so.1.34.0: cannot open shared object file: No such file or directory

I have boost installed correctly and I just added -lboost_thread-gcc41-mt-1_34.
the problem is not in the code because I have also tried with an empty main and the problem persists.

and the fact is that all the libraries are in the same directory (/usr/local/lib)

if any idea I'll appreciate it very much to you response me at yperaltag@gmail.com

thanks in advance.