I install custom software in
/usr/local/lib. How do I set the PATH and LD_LIBRARY_PATH in CentOS 6 system-wide to use
/usr/local/lib. I realize there may be more than one way. What's the simplest and most standard way?
You can add it in
you can edit /etc/ld.so.conf and /usr/local/lib or create a new file /etc/ld.so.conf.d/usrlocal.conf and put only the line