bug-glibc
[Top][All Lists]
Advanced

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

Re: glibc-2.2.3: ld-linux.so.2 error msg


From: Andreas Jaeger
Subject: Re: glibc-2.2.3: ld-linux.so.2 error msg
Date: Mon, 06 Aug 2001 16:53:47 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.1 (Cuyahoga Valley)

"Scott McPeak" <address@hidden> writes:

> When I run 'ld-linux.so.2 --list <program>', and one of the shared
> libraries can't be found, the error message doesn't tell me which one:
>
>   $ /usr/local/lib/ld-linux.so.2 --list ./delphi 
>   ./delphi: error while loading shared libraries: cannot open shared
>   object file: cannot load shared object file: No such file or 
>   directory

Why are you not using ldd directly?  This works fine.

> (In the above example, ./delphi works fine normally; I commented-out a
> critical line in /etc/ld.so.conf to cause this.)
>
> When this happens, I have to resort to 'strace' to find out which
> library is the problem.

You don't have to, use ldd or LD_DEBUG=libs ./delphi,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs address@hidden
   private address@hidden
    http://www.suse.de/~aj



reply via email to

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