Including -R /usr/local/lib?

Alexandre Oliva oliva@dcc.unicamp.br
Sun Apr 19 08:15:00 GMT 1998


Kamil Iskra <kamil@dwd.interkom.pl> writes:

> Excuse me, but what is wrong with setting the LD_LIBRARY_PATH environment
> variable so that it includes /usr/local/lib?

We have several versions of gcc installed in directories that are not
/usr/local.  I won't assume users will select the appropriate library
because they won't, and then they'll blame me.  I'd better make sure
their programs pick up the correct library at run-time.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc mailing list