Boost logo

Boost-Build :

Subject: Re: [Boost-build] [boost-build] darwin linker hangs when building boost.python quickstart example
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-04-03 19:13:10


AMDG

On 04/02/2012 02:39 PM, Berg, Stuart wrote:
>
>> Your earlier post indicated that hello_ext.so
>> refers to /System/Library/Frameworks/Python.framework.
>
> Good eye! I didn't even notice that pesky /System prefix.
>
>> I strongly suspect that this is the problem, but
>> at this point, I have no idea how this dependency
>> was introduced.
>
>
> I'm no boost-build expert, but could it have something to do with this?
>
> $ find . | xargs grep "/System/Library"
> <snip binary matches>
> ./tools/build/v2/tools/python.jam: = [ GLOB /System/Library/Frameworks /Library/Frameworks
>
> I'll see what happens when that line is modified and report back . . .
>

It probably won't have any effect. If it were
the problem, it would manifest in the command lines.
The command lines look totally reasonable to me.
Okay, try relinking with "-Wl,-t" (You can either
pass linkflags=-Wl,-t to bjam, or run the command
directly). Maybe that will reveal where /System/...
is coming from.

In Christ,
Steven Watanabe


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk