On Fri, Jul 23, 2010 at 11:05:05PM +0200, Andy Kittner wrote:
> On Fri, Jul 23, 2010 at 02:30:19PM -0400, James Vega wrote:
> 
> >Because we have to use RTLD_GLOBAL (since the C extensions aren't linked
> >against libpython), it's not safe to use both the Python 2 & 3
> This seems to be system dependent then. On my system the original
> example worked fine before the patch and I can also use python2 and
> 3
> in the same vim session (just checked with the current hg head and
> manually removed the RTLD_GLOBAL)
> 
> Running ldd on the files in the lib-dynload directory reveals that
> out of my installed python versions (2.4.6, 2.5.4, 2.6.5, 2.7,
> 3.1.2) revealed that all c-extensions except those for 2.4.6 are
> linked against the corresponding libpython.so

That's interesting.  As far as I can tell, Python's build system doesn't
do this normally.  It would appear your distribution (which is?) has
changed that.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <james...@jamessan.com>

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui