Force alternate path for lib?

2001-02-27 Thread Emiliano
Hi all, How would I go about forcing an alternate path for a libraray to be used in my project? For example, I have libfoo installed in /usr/local, and I have a development version installed in /usr/local/libfoo-dev. I have another software module that uses libfoo; usually I would just add a --wi

Re: Force alternate path for lib?

2001-02-28 Thread Emiliano
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 t