Load libm.so via macro from gnu/lib-names.h

Bug #1933333 reported by zdohnal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

Hi,

we have a report in Fedora[1] - hplip generates error message in journal:

Jun 23 11:41:59 AAA perl[2750454]: common/utils.c 249: unable to load library libm.so: /lib64/libm.so: invalid ELF header

The error is fixed by the attached patch, which uses macro from lib-names.h. The macro expands to libm.so.6.

Would you mind adding the patch to HPLIP project?

Additionally, I didn't find any places where any symbols are loaded from dlopened library libm - so other possible solution is to remove whole dlopen("libm.so") blocks.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1975226

Revision history for this message
zdohnal (zdohnal) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.