
on Mon Sep 01 2008, "Michel Valstar" <Michel.Valstar-AT-imperial.ac.uk> wrote:
Hi,
I've recently acquired a Mac and I'm trying to port some software to it. The program I want to port uses scons as a build tool. Scons seems to work fine, however, somewhere during compilation I get the following error:
ld: library not found for -lboost_python collect2: ld returned 1 exit status scons: *** [trackerbase/libtrackerbasewrapper.dylib] Error 1 scons: building terminated because of errors.
I had build the binaries from source using
sudo ./configure --with-libraries=python sudo make sudo make install
It seems a library linking problem, but I'm not sure how to tackle this. Any suggestions?
Looks like you're missing an LD_LIBRARY_PATH setting (or the equivalent on Mac, which I think is DYLD_LIBRARY_PATH). It needs to contain the path to the directory containing libboost_python. HTH, -- Dave Abrahams BoostPro Computing http://www.boostpro.com