Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#73813 - [apitrace] undefined symbol: __libc_dlsym, version GLIBC_PRIVATE

Attached to Project: Community Packages
Opened by James Hogan (jhogan) - Wednesday, 16 February 2022, 10:25 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 16 February 2022, 10:26 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Laurent Carlier (lordheavy)
Giancarlo Razzolini (grazzolini)
freswa (frederik)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 4
Private No



Since a recent update of my system, apitrace is broken, e.g.:

$ apitrace trace glxgears
glxgears: symbol lookup error: /usr/bin/../lib/apitrace/wrappers/ undefined symbol: __libc_dlsym, version GLIBC_PRIVATE

Rebuilding the apitrace package fails too:
[ 74%] Linking CXX shared library
/usr/bin/ld: CMakeFiles/egltrace.dir/dlsym.cpp.o: in function `dlsym':
dlsym.cpp:(.text+0x6e): undefined reference to `__libc_dlopen_mode'
/usr/bin/ld: dlsym.cpp:(.text+0x8a): undefined reference to `__libc_dlsym'
collect2: error: ld returned 1 exit status

Additional info:
* apitrace-10.0-1
* glibc-2.35-2

Steps to reproduce:
* update glibc:
[2022-02-15T16:57:59+0000] [ALPM] upgraded glibc (2.33-5 -> 2.35-2)
* apitrace trace glxgears

Unclear to me atm whether glibc is at fault there or apitrace.
This task depends upon

Comment by James Hogan (jhogan) - Wednesday, 16 February 2022, 10:27 GMT
There's an upstream bug report here with a patch: