[SciPy-dev] mlabwrap, alternative to LD_LIBRARY_PATH ?

David Cournapeau david at ar.media.kyoto-u.ac.jp
Fri May 4 04:35:09 EDT 2007


Alexander Schmolck wrote:
>
>
> Yeah, the whole LD_LIBRARY_PATH thing is a huge pain -- there ought to be a
> better way to do this, but it's the "official" one:
>
> <http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/matlab_external/f39903.html>
>
> Any unix build experts who can comment on this?
>
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.

David



More information about the SciPy-Dev mailing list