|
Boost Users : |
Subject: Re: [Boost-users] simple thread program hard to compile/link with 1.46.1
From: Brian Budge (brian.budge_at_[hidden])
Date: 2011-05-23 18:46:24
On Mon, May 23, 2011 at 2:24 PM, Eric Lin <kingdavid1_at_[hidden]> wrote:
> and in my /usr/local/lib
> I do have
> libboost_thread.a
> libboost_thread.so
> libboost_thread.so.1.46.1
>
The easy way to deal with this is to add /usr/local/lib to your
LD_LIBRARY_PATH variable, which would look like this:
eric_at_eric-laptop:~/cppcookbook$
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH ./a.out
Brian
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