Question about dynamic link

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Thu Apr 1 00:00:00 GMT 1999


Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw> writes:

|> Dear All,
|> 
|> I want to test glibc-2.1, but I also want to preserve my stable glibc-2.0.7.
|> I use Debian-2.1, with glibc-2.0.7 installed in the standard path (/lib,
|> /usr/lib). And the glibc-2.1 is installed with prefix /usr/local/gnu. Now
|> I want to have program to use the shared lib in /usr/local/gnu/lib. I 
|> followed the instruction of FAQ:
|> 
|> LD_LIBRARY_PATH=/usr/local/gnu/lib /usr/local/gnu/lib/ld-linux.so.2 prog
|> 
|> But I get the message:
|> 
|> prog: error in loading shared libraries: prog: cannot open shared 
|> object file: No such file or directory

prog is searched on LD_LIBRARY_PATH, *not* PATH.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org



More information about the Libc-alpha mailing list