[haiku-development] Re: Using libboost_thread.so?

  • From: scottmc <scottmc2@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 4 Feb 2012 10:32:19 -0800

On Sat, Feb 4, 2012 at 9:48 AM, Andrew Hudson <hudsonco1@xxxxxxx> wrote:
> I installed Boost 1.47 from haikuware but I have a problem building with
> it.
>
> I did the standard install to /boot. I can see libboost_thread.so.1.47.0
> in /boot/common/lib.
>
>
>
>
>
> But when I try to link against it I get unresolved symbols
>
> for boost::thread.
>
>
>
>
>
> I am building POVRay and when I specify it with:
>
> ./configure --with-boost-thread=/boot/common/lib I get some odd results:
>
>
>
>
>
> checking for boostlib >= 1.37... yes
>
> checking for exit in -l/boot/common/lib... no
>
> checking for exit in -lboost_thread-/boot/common/lib... no
>
> configure: error: Could not link against boost_thread-/boot/common/lib
>
>
>
>
>
> If I run nm against it I get symbols, so it looks well-formed.
>

Configure failures get logged to config.log, start there.
Last I knew boost didn't build cleanly, so I'd be suspect of the boost
you got from haikuware.
-scottmc

Other related posts: