Bug#900025: /usr/lib/x86_64-linux-gnu/libm.so: invalid ELF header
On Sun, 29 Jul 2018, Brian Potkin wrote: > > tags 900025 moreinfo > thanks > > On Thu 24 May 2018 at 21:12:47 +0200, Cristian Ionescu-Idbohrn wrote: > > > Package: libc6-dev > > Version: 2.27-3 > > Severity: normal > > > > Not sure if this should be filed against simple-scan. In that case > > feel free to reassign. > > > > simple-scan: common/utils.c 188: unable to load library libm.so: > > /usr/lib/x86_64-linux-gnu/libm.so: invalid ELF header > > > > Adn these are the contents of /usr/lib/x86_64-linux-gnu/libm.so: > > > > /* GNU ld script > > */ > > OUTPUT_FORMAT(elf64-x86-64) > > GROUP ( /lib/x86_64-linux-gnu/libm.so.6 AS_NEEDED ( > > /usr/lib/x86_64-linux-gnu/libmvec_nonshared.a > > /lib/x86_64-linux-gnu/libmvec.so.1 ) ) > > Please give an example (or two) of a command on unstable/testing which > exhibit this behaviour. Can't reproduce this any more. Please close. Cheers, -- Cristian
Bug#900025: /usr/lib/x86_64-linux-gnu/libm.so: invalid ELF header
tags 900025 moreinfo thanks Thank you for your report, Cristian. On Thu 24 May 2018 at 21:12:47 +0200, Cristian Ionescu-Idbohrn wrote: > Package: libc6-dev > Version: 2.27-3 > Severity: normal > > Not sure if this should be filed against simple-scan. In that case > feel free to reassign. > > simple-scan: common/utils.c 188: unable to load library libm.so: > /usr/lib/x86_64-linux-gnu/libm.so: invalid ELF header > > Adn these are the contents of /usr/lib/x86_64-linux-gnu/libm.so: > > /* GNU ld script > */ > OUTPUT_FORMAT(elf64-x86-64) > GROUP ( /lib/x86_64-linux-gnu/libm.so.6 AS_NEEDED ( > /usr/lib/x86_64-linux-gnu/libmvec_nonshared.a > /lib/x86_64-linux-gnu/libmvec.so.1 ) ) Please give an example (or two) of a command on unstable/testing which exhibit this behaviour. Regards, Brian.
Bug#900025: /usr/lib/x86_64-linux-gnu/libm.so: invalid ELF header
control: reassign -1 hplip On 2018-05-26 09:13, Cristian Ionescu-Idbohrn wrote: > On Fri, 25 May 2018, Aurelien Jarno wrote: > > On 2018-05-24 21:12, Cristian Ionescu-Idbohrn wrote: > > > Package: libc6-dev > > > Version: 2.27-3 > > > Severity: normal > > > > > > Not sure if this should be filed against simple-scan. In that case > > > feel free to reassign. > > > > > > simple-scan: common/utils.c 188: unable to load library libm.so: > > > /usr/lib/x86_64-linux-gnu/libm.so: invalid ELF header > > > > > > Adn these are the contents of /usr/lib/x86_64-linux-gnu/libm.so: > > > > > > /* GNU ld script > > > */ > > > OUTPUT_FORMAT(elf64-x86-64) > > > GROUP ( /lib/x86_64-linux-gnu/libm.so.6 AS_NEEDED ( > > > /usr/lib/x86_64-linux-gnu/libmvec_nonshared.a > > > /lib/x86_64-linux-gnu/libmvec.so.1 ) ) > > > > .so files are not designed to be loaded, but to be used at link time. > > Therefore it's perfectly fine for them to be a linker file. simple-scan > > should use libm.so.6 instead, or rather LIBM_SO from the > > include. > > Then this should be reassigned to package simple-scan? As Florian pointed out it's actually an issue in the hplip package, used by simple-scan. I am therefore reassigning the bug there. -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net
Bug#900025: /usr/lib/x86_64-linux-gnu/libm.so: invalid ELF header
On Fri, 25 May 2018, Aurelien Jarno wrote: > On 2018-05-24 21:12, Cristian Ionescu-Idbohrn wrote: > > Package: libc6-dev > > Version: 2.27-3 > > Severity: normal > > > > Not sure if this should be filed against simple-scan. In that case > > feel free to reassign. > > > > simple-scan: common/utils.c 188: unable to load library libm.so: > > /usr/lib/x86_64-linux-gnu/libm.so: invalid ELF header > > > > Adn these are the contents of /usr/lib/x86_64-linux-gnu/libm.so: > > > > /* GNU ld script > > */ > > OUTPUT_FORMAT(elf64-x86-64) > > GROUP ( /lib/x86_64-linux-gnu/libm.so.6 AS_NEEDED ( > > /usr/lib/x86_64-linux-gnu/libmvec_nonshared.a > > /lib/x86_64-linux-gnu/libmvec.so.1 ) ) > > .so files are not designed to be loaded, but to be used at link time. > Therefore it's perfectly fine for them to be a linker file. simple-scan > should use libm.so.6 instead, or rather LIBM_SO from the > include. Then this should be reassigned to package simple-scan? > Now I don't find this common/utils.c file in the simple-scan sources. > Which version is installed on your system? Package: simple-scan Version: 3.26.2-1 Cheers, -- Cristian
Bug#900025: /usr/lib/x86_64-linux-gnu/libm.so: invalid ELF header
* Aurelien Jarno: > Now I don't find this common/utils.c file in the simple-scan sources. This looks like a known hplip bug: https://bugzilla.redhat.com/show_bug.cgi?id=1347231 More recent sources try to load libm.so.6 as well. Note that shared objects which use libm (or any libc) functions and are not themselves linked against the relevant shared objects have no ABI guarantees whatsoever and can break with a glibc update. (Exceptions are objects which were linked against glibc 2.0, before symbol versioning was introduced.)
Bug#900025: /usr/lib/x86_64-linux-gnu/libm.so: invalid ELF header
On 2018-05-24 21:12, Cristian Ionescu-Idbohrn wrote: > Package: libc6-dev > Version: 2.27-3 > Severity: normal > > Not sure if this should be filed against simple-scan. In that case > feel free to reassign. > > simple-scan: common/utils.c 188: unable to load library libm.so: > /usr/lib/x86_64-linux-gnu/libm.so: invalid ELF header > > Adn these are the contents of /usr/lib/x86_64-linux-gnu/libm.so: > > /* GNU ld script > */ > OUTPUT_FORMAT(elf64-x86-64) > GROUP ( /lib/x86_64-linux-gnu/libm.so.6 AS_NEEDED ( > /usr/lib/x86_64-linux-gnu/libmvec_nonshared.a > /lib/x86_64-linux-gnu/libmvec.so.1 ) ) .so files are not designed to be loaded, but to be used at link time. Therefore it's perfectly fine for them to be a linker file. simple-scan should use libm.so.6 instead, or rather LIBM_SO from the include. Now I don't find this common/utils.c file in the simple-scan sources. Which version is installed on your system? Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net
Bug#900025: /usr/lib/x86_64-linux-gnu/libm.so: invalid ELF header
Package: libc6-dev Version: 2.27-3 Severity: normal Not sure if this should be filed against simple-scan. In that case feel free to reassign. simple-scan: common/utils.c 188: unable to load library libm.so: /usr/lib/x86_64-linux-gnu/libm.so: invalid ELF header Adn these are the contents of /usr/lib/x86_64-linux-gnu/libm.so: /* GNU ld script */ OUTPUT_FORMAT(elf64-x86-64) GROUP ( /lib/x86_64-linux-gnu/libm.so.6 AS_NEEDED ( /usr/lib/x86_64-linux-gnu/libmvec_nonshared.a /lib/x86_64-linux-gnu/libmvec.so.1 ) ) -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.15.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=en_US:en (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages libc6-dev depends on: ii libc-dev-bin2.27-3 ii libc6 2.27-3 ii linux-libc-dev 4.15.17-1 libc6-dev recommends no packages. Versions of packages libc6-dev suggests: ii glibc-doc 2.27-3 ii manpages-dev 4.16-1 -- no debconf information Cheers, -- Cristian