I just installed Fedora 17 KDE on a 32 bit machine. I'm trying to set the environment variable LD_LIBRARY_PATH to include my own directory, but it doesn't seem to get set. I created a file called ".profile" in my ~ directory and included the following lines (note, I purposefully omitted the H in PATH):
Then I logout and login again (for these to take into effect). LD_LIBRARY_PAT (no H) and TESTVAR get set as expected (I tested these with "echo $LD_LIBRARY_PAT" and "echo $TESTVAR"), but "echo $LD_LIBRARY_PATH" returns empty, as if it got unset somewhere else.
Why is this and/or what can I do to resolve my problem? I'm sure I haven't set or unset this variable myself anywhere else, so how can I see where else this variable gets set or unset?
Code:
LD_LIBRARY_PAT=test123
export LD_LIBRARY_PAT
LD_LIBRARY_PATH=/home/myusername/mylibrary
export LD_LIBRARY_PATH
TESTVAR=test345
export TESTVAR
Why is this and/or what can I do to resolve my problem? I'm sure I haven't set or unset this variable myself anywhere else, so how can I see where else this variable gets set or unset?