Boost logo

Boost-Build :

From: Rush Manbert (rush_at_[hidden])
Date: 2006-03-21 13:50:46

Phillip Seaver wrote:
> I'm trying to get all my libs and necessary header files installed in a
> common place so that someone using xcode to build their app can just
> point there instead of the individual project folders and build
> directories. It's saying that I need to do a ranlib on the .a files.
> How would I fix to do a ranlib after it copies .a files? Or
> does something else need to be done?
>>common.copy /Users/flip/stage/libs/debug/libetsopt.a
>>ld: table of contents for archive:
>>/Users/flip/stage/libs/debug/libetsopt.a is out of date; rerun
>>ranlib(1) (can't load from it)

Hi Phillip,

I see you got no other responses, so I'll give you my 2 cents.

I have built and installed Boost on Mac OS 10.4.5 (ppc and intel), and I
don't have the problem you describe. My bjam invocation looks like this:

# Directories of interest

cd ../sources/boost || exit 1
../$bjam -sTOOLS=darwin --layout=system --prefix=../$installDir
--exec-prefix=../$installDir --builddir=../$buildProductsDir install

I extracted this from my bash script that builds and installs Boost, but
you can see that --prefix and --exec-prefix point to one place, while
--builddir points to another, and I specify install so that the build
copies the files. I don't run ranlib after the install, have linked
against a subset of the resultant libraries, and the linker has never

My guess is that this won't really help you (which is why I didn't reply
earlier), but it's another data point.


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at