DYLD_LIBRARY_PATH no longer valid in environment.plist ?
DYLD_LIBRARY_PATH no longer valid in environment.plist ?
- Subject: DYLD_LIBRARY_PATH no longer valid in environment.plist ?
- From: Luis Gustavo Martins <email@hidden>
- Date: Wed, 10 Sep 2008 17:58:52 +0100
Hello all,
I'm running XCode 3.1 in OSX 10.5.4 and I'm trying to debug a command
line application which uses some dylibs (which are from MATLAB, a
commercial application for math and matrix computations).
The problem is that Xcode (in fact GDB inside XCode) complains about
not finding some of those MATLAB dylibs and borks my debug session,
even if I set the DYLD_LIBRARY_PATH env var to the correct directories
in .bash_profile (in fact, if I run my command line executable in the
Terminal everything goes well... but I miss the Xcode debugger...). I
guess that this is because env vars defined in .bash_profile do not
get propagated to Xcode (or any other GUI app in OSX).
So as far as could discover, the other option would be to set
DYLD_LIBRARY_PATH in ~/.MacOSX/environment.plist which (after logout/
login) would make it global for everything in OSX (XCode and GDB
included).
However, this last option seems to have been recently deprecated in
Leopard due to alleged security reasons (It still seems to work for
envars other than DYLD_LIBRARY_PATH... anyone confirms this?). So my
question is, how do I make the DYLD_LIBRARY_PATH env var visible to
XCode? Or in other hand, how do I point Xcode to custom directories
where dylibs live?
Thank you all in advance,
Cheers,
Gustavo Martins
Luis Gustavo Martins
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden