<snip> ./jpeginfo: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory
searching the internets of course brings false hope until: http://stackoverflow.com/questions/4033981/how-to-link-shared-libraries-in-local-directory-osx-vs-linux tells to export LD_LIBRARY_PATH=${HOME}/usr/lib make install ./jpeginfo jpeginfo: file arguments missing Try 'jpeginfo --help' for more information. Hurrah I thankyou thankyou, bows, bows, bows. for completeness tail -2 ~/.bashrc export LD_LIBRARY_PATH=${HOME}/usr/lib export PATH=${HOME}/usr/bin:${PATH} WRONG! WRONG! WRONG! Do not use LD_LIBRARY_PATH. Never. By using LD_LIBRARY_PATH you're giving the dynamic shared library loader extra work to do to trawl through those directories each time you run an executable. What you should be doing instead is setting LD_RUN_PATH. Rather than telling the library loader where to find a library at run time, by setting LD_RUN_PATH, you tell the linker at *link* time where to find the library. See "WHY LD_LIBRARY_PATH is bad": http://xahlee.org/UnixResource_dir/_/ldpath.html _______________________________________________ NetBehaviour mailing list [email protected] http://www.netbehaviour.org/mailman/listinfo/netbehaviour
