DYLD_LIBRARY_PATH and DYLD_LIBRARY_PATHPATH?

Member
Posts: 312
Joined: 2006.10
Post: #1
Hi,

I'm having this problem when I do various commands in terminal (such as make, or man) I get these errors/warning messages.

Quote:dyld: warning, unknown environment variable: DYLD_LIBRARY_PATHPATH

I've been told this is suppose to be DYLD_LIBRARY_PATH. How do I change it?

Btw, here is what the two variables hold.
Quote:jedd-haberstros-computer:~ jeddhaberstro$ $DYLD_LIBRARY_PATH
-bash: :/usr/local/panda/lib: No such file or directory
jedd-haberstros-computer:~ jeddhaberstro$ $DYLD_LIBRARY_PATHPATH
-bash: /usr/local/bin:/usr/local/panda/bin:/usr/local/bin:/opt/local/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:/sw/bin:/sw/sbin:/opt/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/pspdev/bin:/usr/local/pspdev/psp/bin:/usr/local/pspdev/psp/sdk/bin:/usr/X11R6/bin: No such file or directory

Thanks!

Edit - I went looking into my .bash_profile file, and this is what it looks like:

Code:
export PSPDEV="/usr/local/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
export PSPPATH="$PSPDEV/bin:$PSPDEV/psp/bin:$PSPSDK/bin"
export PATH="/opt/local/bin:$PATH:$PSPPATH"
export PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig




test -r /sw/bin/init.sh && . /sw/bin/init.sh
# Setting PATH for MacPython 2.5
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

export PATH=''/usr/local/panda/bin:/usr/local/bin:/opt/local/bin:$PATH''
PYTHONPATH=/usr/local/panda/lib; export PYTHONPATH
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:/usr/local/panda/lib ; export DYLD_LIBRARY_PATHPATH=/usr/local/bin:$PATH

Should I change that last line to say this?
Code:
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:/usr/local/panda/lib ; export [b]DYLD_LIBRARY_PATH[/b]=/usr/local/bin:$PATH
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
no.

I suspect you should just delete that export in its entirety, but you've got so much garbage in here that it's impossible to tell...
Quote this message in a reply
Post Reply