Boost logo

Boost Users :

From: Benoit Sigoure (tsuna_at_[hidden])
Date: 2007-11-10 12:03:14


Hello Brad,

On Nov 10, 2007, at 1:10 AM, Brad wrote:

> I am trying to make a package called visual python, but I keep getting
> this error. I am using fedora 8 and have
>
> Linking cvisualmodule.la ...
> make[1]: *** [cvisualmodule.la] Error 1
> make[1]: Leaving directory `/home/brad/Download/visual-4.beta16/src'
> make: *** [all-recursive] Error 1
>
> The key reason I get this error is this line right here...
> /usr/bin/ld: cannot find -lboost_thread
>
> I looked online saw that I could try --LDFLAGS-L[path], where path is
> the path to libboost_thread.so and libboost_thread.a. Those files
> don't
> exist on my computer and I have boost-1.34.1-5.fc8 and
> boost-devel-1.34.1-5.fc8. I did however find
> /usr/lib/libboost_thread-mt.so,
> /usr/lib/libboost_thread-mt.so.1.34.1, and /usr/lib/libboost_thread-
> mt.so.3.

As far as I know (someone correct me if I'm wrong) boost_threads
always comes in a `-mt' flavor (I think it's obvious why) so you must
use -lboost_thread-mt instead.

Cheers,

-- 
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory



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