Bug#31953: libc6: ldd can no longer recognize static executables
Package: libc6
Version: 2.0.7.19981211-1
joey@kite:/tmp>echo 'main(){}' > foo.c
joey@kite:/tmp>gcc foo.c -o foo -static
joey@kite:/tmp>file foo
foo: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, not stripped
joey@kite:/tmp>ldd foo
not a dynamic executable
joey@kite:/tmp>echo $?
1
Note that ldd used to do this, before I upgraded to this version of libc:
joey@box:/mnt/kite/tmp>ldd foo
statically linked (ELF)
joey@box:/mnt/kite/tmp>echo $?
0
This bug makes dpkg-shlibdeps in turn fail, which means that any packages
that have statically linked binaries in them will probably not build (this
bit the distributed-net package).
-- System Information
Debian Release: 2.1
Kernel Version: Linux kite 2.2.0-pre4 #1 Mon Jan 4 17:52:58 PST 1999 i586 unknown
Versions of the packages libc6 depends on:
ii ldso 1.9.9-5 The Linux dynamic linker, library and utilit
Reply to: