boost library, hardtolink&compile, plz help

Jeffrey Walton noloader@gmail.com
Tue May 24 14:23:00 GMT 2011


On Mon, May 23, 2011 at 11:44 AM, eric lin <ericlin@fsshl.zzn.com> wrote:
> Dear Jeffrey (and/or gnu/g++ programers):
>  I follow your hint
> --------------------
> root@eric-laptop:/# ldconfig -p | grep -i boost
> root@eric-laptop:/#
>
> ----------
> so it looks my thread lib is not available for the runtime linker
> although your first commnad do issue a.out without compile/link error
> however, when I run ./a.out
> ---------
> eric@eric-laptop:~/cppcookbook$  ./a.out
> ./a.out: error while loading shared libraries: libboost_thread.so.1.46.1: cannot open shared object file: No such file or directory
> --
http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html



More information about the Gcc-help mailing list