One of my first missions on my new job was to create a standard / documented build process, as all software builds were done following handwritten notes, one out of three docs in a Wiki, or whatever tricky "build script" the developer in question favored.
One of the things I took pains with to do was removing any need for LD_LIBRARY_PATH from the build / installation / employment phase. ('rpath' is your friend.)
LD_LIBRARY_PATH is for debugging, or patching, or migrating, but shouldn't be touched with a ten-foot-pole in a production environment. Some of the reasons why are mentioned here. ;-) |