[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Force alternate path for lib?

From: Emiliano
Subject: Re: Force alternate path for lib?
Date: Wed, 28 Feb 2001 10:45:07 +0100 (CET)

Alexandre Oliva wrote:

> This probably adds some -L/dir -llibname to LIBS.  This affects the
> linker when it searches for a library at link time, but not the
> dynamic loader when it looks for the library at run time.  If both
> libraries have the same SONAME (which seems to be the case, given that
> you're probably linking with one but ldd finds the other), you'll have
> to use -rpath or some similar option when linking the program, or set
> LD_LIBRARY_PATH so that the newer version of the library is found.
> Incidentally, this has absolutely nothing to do with autoconf :-)

OK, sorry. But I've got the information I need anyway :) Where should
I be asking about the possibilities of -rpath?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]