LD_LIBRARY_PATH is for finding shared libraries at runtime: http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html the use of LD_LIBRARY_PATH is considered poor form in some circles: http://xahlee.org/UnixResource_dir/_/ldpath.html
If you insist, ldconfig is used with LD_LIBRARY_PATH to set up file links and library cache. http://linux.die.net/man/8/ldconfig LIBRARY_PATH is for finding "special linker files" and libraries at compile time: http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Environment-Variables.html "The value of LIBRARY_PATH is a colon-separated list of directories, much like PATH. When configured as a native compiler, GCC tries the directories thus specified when searching for special linker files, if it can't find them using GCC_EXEC_PREFIX. Linking using GCC also uses these directories when searching for ordinary libraries for the -l option (but directories specified with -L come first)." On Sun, Feb 7, 2010 at 4:58 PM, Patrick J. Timlick <[email protected]>wrote: > Huge difference. > > > On Sun, Feb 7, 2010 at 3:55 PM, Mike Connors <[email protected]> wrote: > >> Patrick J. Timlick wrote: >> >> The instructions appear to call for a direct build of gcc with just >> >> the source directories for gmp and mpfr unpacked, but I get errors >> >> that gmp can't be found when I try to do that. >> Usually when an installer throws an error that it can't find files and >> those files >> do in fact exist on your system it's a matter of the those files not being >> in the place >> that the installer is looking for them in. >> >> In a previous post you had set the library path, " >> LIBRARY_PATH=/tools/lib" however in this thread, >> http://old.nabble.com/gcc-4.3.2:-statically-link-mpfr--td19576453.html, >> the refer to the "LD_LIBRARY_PATH". Not sure if that makes a difference or >> not...? >> >> _______________________________________________ >> PLUG mailing list >> [email protected] >> http://lists.pdxlinux.org/mailman/listinfo/plug >> > > > > -- > [email protected] > www.timlick.com > 503-476-3119 > 10990 NE Paren Springs Rd. > Dundee OR 97115 > -- [email protected] www.timlick.com 503-476-3119 10990 NE Paren Springs Rd. Dundee OR 97115 _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
