[haiku-development] Using libboost_thread.so?

  • From: Andrew Hudson <hudsonco1@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 4 Feb 2012 12:48:34 -0500 (EST)


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.


Any advice is appreciated.


Thanks,
Andrew

 

Other related posts: