[SciPy-dev] mlabwrap, alternative to LD_LIBRARY_PATH ?
Alexander Schmolck
a.schmolck@gmx....
Fri May 4 04:38:16 CDT 2007
"Matthew Brett" <matthew.brett@gmail.com> writes:
> Hi,
>
>> If I were to build the thing with gcc, I would use -rpath, which
>> hardcodes the library runtime path into the binary. I used this quite
>> often with mex files, when I was still using matlab.
>
> distutils has a runtime_library_dirs option
>
> For eggs:
> http://cheeseshop.python.org/pypi/zc.recipe.egg/1.0.0b6#creating-eggs-with-extensions-neededing-custom-build-settings
>
> I guess that would cover it?
Hey, thanks -- I was just about to send off an email to the distutils-sig,
asking about this (having not much luck googling setuptools LD_LIBRARY_PATH
and similar), but this seems to do the trick -- I've modfied setup.py
accordingly and it appears to work fine. Great!
cheers,
'as
More information about the Scipy-dev
mailing list