Boost logo

Boost Users :

From: Vincent Torri (vtorri_at_[hidden])
Date: 2007-05-16 18:44:35


exececute (in a terminal)

export LD_LIBRARY_PATH=/usr/local/lib

before launching your app. It should fix the problem. To make that stuff
permanent, add that command in one of your personal config shell file
(.zshenv or .profile or etc...)

Another solution, which is also permanent:

add in /etc/ld.so.conf the line

/usr/local/lib

and run ldconfig

Vincent Torri

On Wed, 16 May 2007, Yunior Peralta González wrote:

> 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_at_[hidden]
>
> thanks in advance.
>
> --
> Ce message a été vérifié par MailScanner
> pour des virus ou des polluriels et rien de
> suspect n'a été trouvé.
> Message délivré par le serveur de messagerie de l'Université d'Evry.
>
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net