rpath in setup.py?

Tore Ferner torfer at pvv.org
Mon Oct 6 08:17:28 EDT 2003


Marc Recht wrote:
>>      ext_modules=[Extension('struct', ['structmodule.c'],
>>          runtime_library_dirs = ['/opt/python/python2.1.3/lib'] <= added
>>          )],
> 
> 
> Did you try the following already?
> ...
>   extra_link_args = ['-Wl,-R/opt/python/python2.1.3/lib']
> ...

Yes, that solved the problem. I found the documentation and when I use 
this and add an Extension for pyexpat in exts.append, it works. Similar 
changes in other 3. party modules also work as it should.

Happy me, Tore





More information about the Python-list mailing list