|
Boost : |
From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2006-03-22 14:26:20
Martin Wille wrote:
> Vladimir Prus wrote:
>
>>David Abrahams wrote:
>>
>>
>>
>>>>Looks like Boost.Python library wants multi-threading for some
>>>>reason.
>>>
>>>It's not just -lpthread, but also -ldl that is missing.
>>
>>
>>The 'dl' is already added in CVS, we've talked with Martin about it and
>>figured out that on some Unixes Python links to dl and on others don't.
>
>
> Not only on "some Unixes"; the way libpython gets built on Linux systems
> differs among the different distributions.
>
> We also know of having to add -lutil for pty related functions.
The way this is typically solved is by querying the library / tool about
its dependencies (via autotools, i.e. configure, say).
I'm not sure whether boost.build has something equivalent...
Regards,
Stefan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk