[Distutils] Dynamic linking on Linux, Mac OS, et al
Jeff Pitman
jeff.pitman at gmail.com
Fri Jan 6 05:29:21 CET 2006
On 1/6/06, Phillip J. Eby <pje at telecommunity.com> wrote:
> Hi folks. I just implemented preliminary shared library build support for
> setuptools, but I ran into a bit of a snag. I was operating under the
> assumption that you could simply put shared libraries in the directory
> alongside the extensions that use them, but in practice it turns out that
> this only works on Windows. On Linux I found that you could only put
> shared libraries in a directory on LD_LIBRARY_PATH, and I suspect a similar
> issue will be found under OS X and other Unixes.
Are these just extensions that are imported? Because if they are, then
you don't need to mess with LD_LIBRARY_PATH and you can put them
anywhere on Linux as long as PYTHONPATH is correct.
--
-jeff
More information about the Distutils-SIG
mailing list