Originally posted by abatista
Ok I have done that. Also I added it to /etc/ld.so.conf but the man says to then do idconfig which on my FC1 just gives me bash message as it's missing.
I'd stick it in your .bashrc file instead.
But one thing: do you need the library path for an application you installed from source?
If so, there is a much better way of specifying the library path: with a runpath
To set a runpath, before you compile the application (indeed, before running the configure script if there is one) set the following variable:
export LDFLAGS="-rpath /path/to/library "$LDFLAGS
If the application you need the library path for was installed as binary, don't worry about this advice. Try to remember it though for the future, if you ever do install something from source. Runpaths are better than LD_LIBRARY_PATH
Edit: don't take my word for it: