New user: ld: library not found for -lboost_python

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? -- Dr. Michel Valstar, Research Associate http://www.doc.ic.ac.uk/~mvalstar <http://www.doc.ic.ac.uk/%7Emvalstar> Department of Computing Imperial College London 180 Queens' Gate London SW7 2AZ, U.K. tel.: +44 20 7594 8225 fax: +44 20 7581 8024

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
participants (2)
-
David Abrahams
-
Michel Valstar