Bug#502189: libc6: ldd on a static prog: unknown exit code (126)
tag 502189 + upstream
thanks
Christophe Lohr a écrit :
> Christophe Lohr a écrit :
>> Aurelien Jarno a écrit :
>>> Unreproducible here. Please prode the output of "sh -x /usr/bin/ldd
>>> helloworld".
>>>
>> $ sh -x /usr/bin/ldd helloworld
> (..)
>> + RTLDLIST='/lib/ld-linux.so.2 /lib64/ld-linux-x86-64.so.2'
> (..)
>> ++ /lib64/ld-linux-x86-64.so.2 --verify ./helloworld
> (..)
>> ldd: exited with unknown exit code (126)
>
> Hi,
> If I understood correctly, the problem is that I also have the
> libc6-amd64 package installed on my PC. The "ldd" script tries all
> ld-XXXX.so it finds on the system, even those who are not relevent.
>
> I have libc6-amd64 on my system because:
> - gcc-4.3 suggests gcc-4.3-multilib
> - gcc-4.3-multilib depends on lib64gcc1
> - lib64gcc1 depends on libc6-amd64
>
> Since I have removed the libc6-amd64 paquage, ldd works well.
> So, even if the ldd script can be improved, in my point of view this
> ticket maybe closed.
>
This is an upstream regression, it will be fixed in the 2.8 libc6 package.
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
Reply to: