This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Question about dynamic link


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]