This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: boost library, hardtolink&compile, plz help
- From: "eric lin" <ericlin at fsshl dot zzn dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 23 May 2011 08:44:32 -0700
- Subject: Re: boost library, hardtolink&compile, plz help
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
--
that looks not what the book author suppose it be.
(so I emailed first author of that book, D. Ryan Stephens, he is not yet reply me)
looking to see better way to make it work right, and thanks a lot in advance, Eric