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:

> 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

You have to give a complete path for `prog'.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


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