On 01/27/2011 09:59 AM, Mirko Vukovic wrote:
I am installing a software package that requires gcc version 4.5.2
I built gcc (and prerequisites gmp, mpc, mpfr) yesterday, and installed into
default
location /usr/local/...

I cannot remove the preinstalled gcc, gmp, mpc, mpfr libraries that live in
/usr, because that will break
many other dependencies.  So, how do I access the new libraries without
setting
LD_LIBRARY_PATH?

From reading around, permanently setting LD_LIBRARY_PATH is not approved of.

Thank you,

Mirko



Create a wrapper script for your application that requires gcc 4.5.2 and set the LD_LIBRARY_PATH in there (as well as any other necessary variables).

Hugh

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to