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

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
<gnu/lib-names.h> 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
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: