Bug 1216892 - /usr/lib64/libm.so is no library but text
Summary: /usr/lib64/libm.so is no library but text
Status: RESOLVED INVALID
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Development (show other bugs)
Version: Leap 15.5
Hardware: 64bit Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-05 17:26 UTC by H. Kuest
Modified: 2023-11-15 10:07 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H. Kuest 2023-11-05 17:26:12 UTC
When attempting to scan from a network scanner the journalctl output tells

Nov 05 16:02:47 localhost xsane[12118]: common/utils.c 250: unable to load library libm.so: /usr/lib64/libm.so: Ungültiger ELF-Header
Nov 05 16:02:47 localhost xsane[12118]: common/utils.c 117: unable to open /var/lib/hp/hplip.state: Datei oder Verzeichnis nicht gefunden
Nov 05 16:02:47 localhost xsane[12118]: common/utils.c 167: validate_plugin_version() Failed to get Plugin version from [/var/lib/hp/hplip.state]
Nov 05 16:02:47 localhost xsane[12118]: common/utils.c 211: Plugin version is not matching
Nov 05 16:02:47 localhost xsane[12118]: common/utils.c 282: Invalid Library hanlder pLibHandler = NULL.

An investigation of the library supplied by the glibc-devel package tells

# ls -l /usr/lib64/libm.so
-rw-r--r-- 1 root root 110 Oct  5 13:23 /usr/lib64/libm.so
# cat /usr/lib64/libm.so
/* GNU ld script
*/
OUTPUT_FORMAT(elf64-x86-64)
GROUP ( /lib64/libm.so.6  AS_NEEDED ( /lib64/libmvec.so.1 ) )

This remains present even after a forced re-installation of glibc-devel.
Comment 1 Andreas Schwab 2023-11-15 10:07:54 UTC
A linker script is a valid library.