What is LD_LIBRARY_PATH used for?
The environment variable LD_LIBRARY_PATH tells the runtime linker where to look for dynamic libraries that need to be loaded by your program. If your LD_LIBRARY_PATH variable points to libraries that where created by a different compiler than your application, you can experience strange behavior. Usually LD_LIBRARY_PATH should not be set (as sus/scirun build in library path information when they are linked), however you can use this variable to dynamically use different libraries if you know what you are doing.