Using LD_LIBRARY_PATH and how to get yourself into trouble!

`it is a very bad idea to set LD_LIBRARY_PATH in your login profiles (.bashrc, .cshrc, etc) as doing so exposes all applications you start or use to this!

read this blurb for more information on the subject:

Instead write individual wrappers for specific applications that require such a setting, along with any other variables. Here’s a quick example:

~$ cat /usr/local/bin/dtk
#! /bin/bash
exec “$PREFIX/dtk” “$@”