Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-11-29 11:09:26


On Thursday 25 November 2004 01:17, David Abrahams wrote:

> > 2. Is linking Boost.Python agaist Python bad for some reason?
>
> On Unix: yes, for the same reason that you don't link any Python
> extension modules against libpythonXX. You want to pick up the
> symbols in the interpreter, not those in libpythonXX, and if both are
> present at the same time you'll get dynamic load conflicts.

Noted. I was not aware Python interpreter provides the symbols itself, instead
of just linking to the same libpythonXX.

> > Does it matter?
>
> IIRC, yes.
>
> > The only case where it matter is if one dynamically loads
> > Boost.Python with the RTLD_NOW flag and before loading Python
> > interpreter -- which does not seem very realistic.
>
> Did you actually try it?

No, because I have no idea why it's needed. That's why "does not seem very
realistic"

- Volodya

 


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