Bug#630411: libc6 should define /lib/ld-lsb-x86-64.so.3 on AMD64
Package: libc6
Version: 2.11.2-10
Severity: normal
After downloading a lsb binary for Linux
on architecture amd64 (aka x_-_64) the
program runs out of the box on a SLES11
machine, but fails on Debian wuth a cryp
tic message :
fp2x@masime:/tmp> lsb_release --all
LSB Version: core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:
core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.
0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-
amd64:graphics-4.0-noarch
Distributor ID: SUSE LINUX
Description: SUSE Linux
Enterprise Server 11 (x86_64)
Release: 11
Codename: n/a
fp2x@masime:/tmp> ls -lApst lm*
509 -rw-r--r-- 1 fp2x users 516479
juin 9 20:28 lmutil_x64_lsb.tar.gz
464 -rw-r--r-- 1 fp2x users 471556
juin 9 20:28 lmgrd_x64_lsb.tar.gz
1353 -rwxr-xr-x 1 fp2x users 1384304
d├®c. 7 2010 lmgrd
1429 -rwxr-xr-x 1 fp2x users 1461624
d├®c. 7 2010 lmutil
fp2x@masime:/tmp> ./lmutil lmver
-help
lmutil - Copyright (c) 1989-2010 Flexera
Software, Inc. All Rights Reserved.
usage: lmver flexlm_binary
fp2x@drhpcm03:/tmp$ lsb_release --all
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux
6.0.1 (squeeze)
Release: 6.0.1
Codename: squeeze
fp2x@drhpcm03:/tmp$ ls -lApst lm*
1432 -rwxr-xr-x 1 fp2x fp2x 1461624
7 d├®c. 2010 lmutil
fp2x@drhpcm03:/tmp$ ./lmutil
-bash: ./lmutil: Aucun fichier ou dossier
de ce type
fp2x@drhpcm03:/tmp$ echo $?
127
extract of readelf -l lmutil
INTERP
0x0000000000000200 0x0000000000400200 0x0000000000400200
0x000000000000001a 0x000000000000001a R
1
[Requesting program
interpreter: /lib64/ld-lsb-x86-64.so.3]
program interpreter: /lib64/ld-lsb-x86-64.so.3
is a LSB requirement. For instance http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-AMD64/LSB-Core-AMD64/requirements.html
On a patched Debian :
p2x@drhpcm05:/tmp$ lsb_release --all
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux
6.0.1 (squeeze)
Release: 6.0.1
Codename: squeeze
fp2x@drhpcm05:/tmp$ uname -a
Linux drhpcm05 2.6.32-5-amd64 #1 SMP
Wed Jan 12 03:40:32 UTC 2011 x86_64 GNU/Linux
fp2x@drhpcm05:/tmp$ ls -ldp /lib*
drwxr-xr-x 11 root root 12288 10 juin
20:41 /lib/
drwxr-xr-x 2 root root 4096
31 janv. 10:55 /lib32/
lrwxrwxrwx 1 root root
4 21 janv. 16:22 /lib64 -> /lib/
fp2x@drhpcm05:/tmp$ ls -l /lib/ld-lsb-x86-64.so.3
lrwxrwxrwx 1 root root 20 10 juin 20:41
/lib/ld-lsb-x86-64.so.3 -> ld-linux-x86-64.so.2
fp2x@drhpcm05:/tmp$ ls -l /lib/ld-linux-x86-64.so.2
lrwxrwxrwx 1 root root 12 31 janv. 10:56
/lib/ld-linux-x86-64.so.2 -> ld-2.11.2.so
fp2x@drhpcm05:/tmp$ dpkg-query -S /lib/ld-2.11.2.so
libc6: /lib/ld-2.11.2.so
fp2x@drhpcm05:/tmp$ ./lmutil lmver
lmutil
lmutil - Copyright (c) 1989-2010 Flexera
Software, Inc. All Rights Reserved.
FLEXnet Licensing v11.9.1.0 build 89952
x64_lsb (liblmgr.a), Copyright (c) 1988-
2010 Flexera Software, Inc. All Rights
Reserved.
fp2x@drhpcm05:/tmp$ ./lmutil lmver
-help
lmutil - Copyright (c) 1989-2010 Flexera
Software, Inc. All Rights Reserved.
usage: lmver flexlm_binary
So the bug is against the package which
provides /lib/ld-2.11.2.so libc6
Severity is not minor because this bug
prevents running of a lsb compliant binary and ldd does not show any missing
libraries.
fp2x@drhpcm03:/tmp$ ldd lmutil
linux-vdso.so.1
=> (0x00007fffec8a1000)
libpthread.so.0
=> /lib/libpthread.so.0 (0x00007f7a2102f000)
libm.so.6
=> /lib/libm.so.6 (0x00007f7a20dad000)
libgcc_s.so.1
=> /lib/libgcc_s.so.1 (0x00007f7a20b96000)
libc.so.6
=> /lib/libc.so.6 (0x00007f7a20835000)
libdl.so.2
=> /lib/libdl.so.2 (0x00007f7a20631000)
/lib64/ld-lsb-x86-64.so.3
=> /lib64/ld-linux-x86-64.so.2 (0x00007f7a21258000)
fp2x@drhpcm03:/tmp$ ./lmutil
-bash: ./lmutil: Aucun fichier ou dossier
de ce type
fp2x@drhpcm03:/tmp$
- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/24
CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libc6 depends on:
ii libc-bin
2.11.2-10 Embedded
GNU C Library: Binaries
ii libgcc1
1:4.4.5-8 GCC
support library
libc6 recommends no packages.
Versions of packages libc6 suggests:
ii debconf [debconf-2.0]
1.5.36.1 Debian configuration management sy
pn glibc-doc
<none>
(no description available)
ii locales
2.11.2-10 Embedded
GNU C Library: National L
-- debconf information:
glibc/upgrade: true
glibc/restart-services:
glibc/disable-screensaver:
glibc/restart-failed:
Cordialement,
Regards,
Mit freundlichen Grüßen,
مع تحياتي الخالصة
F. Petitjean
Bureau Veritas
--
A: Because it messes up the order
in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing
on usenet and in e-mail?
Reply to: