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: Jeffrey Walton <noloader at gmail dot com>
- To: eric lin <ericlin at fsshl dot zzn dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 23 May 2011 12:16:13 -0400
- Subject: Re: boost library, hardtolink&compile, plz help
- References: <20D496B53F6C1DF4B8C7D17A0B4A9146@ericlin.fsshl.zzn.com>
- Reply-to: noloader at gmail dot com
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