Re: setting dyld_library_path causes x11 to fail
Re: setting dyld_library_path causes x11 to fail
- Subject: Re: setting dyld_library_path causes x11 to fail
- From: Martin Costabel <email@hidden>
- Date: Wed, 25 Apr 2012 12:04:47 +0200
On 25/04/12 10:28, Jeremy Huddleston wrote:
[]
The only reason I can think of for that happening is if *MATLAB* is doing something wrong with DYLD_ environment variables or if ncdump is not linked correctly. The output from otool -L above should help me figure that out if it's an issue in ncdump (which can then be fixed in MacPorts).
MATLAB is indeed setting the DYLD_LIBRARY_PATH environment variable in
the wrapper script that launches matlab. They need it because of sloppy
linking of their dynamic libraries. Many of them have decent
install_names, but many others don't (this is based on observation of
Matlab-2008; perhaps newer versions are better behaved in this respect,
but I doubt it.)
A better advice of how to fix this in your ~/.tcshrc would be to write
unsetenv DYLD_LIBRARY_PATH
--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden