|
Boost-Build : |
Subject: Re: [Boost-build] installing boost on Mac OS X (version 10.5.5)
From: J. van der Wulp (jwulp_at_[hidden])
Date: 2008-10-21 09:36:33
>> I think this problem may be solved by adding <linkflags>-undefined
>> dynamic_lookup. This has the effect that dependent symbol lookup is
>> postponed until runtime. Because the filesystem library is linked
>> against the system library I think it will resolve just fine at runtime.
>
> Why does it work this way? I'd imagine that linker should notice filesystem->system
> dependency encoded in the filesystem lib, and not emit this error.
>
I completely agree, I have no idea why this is. But I have seen this
problem a couple of times when linking to dynamic libraries that depend
on other dynamic libraries. Maybe adding -undefined dynamic_lookup this
is not the best solution but it seems to do the trick.
- Jeroen
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