Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2008-09-02 11:14:28

on Mon Sep 01 2008, "Michel Valstar" <> 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.


Dave Abrahams
BoostPro Computing

Boost list run by bdawes at, gregod at, cpdaniel at, john at