You are not logged in.

#1 2026-08-21 11:36:08

goatboy
Member
Registered: 2026-08-21
Posts: 2

[SOLVED] libsystemd/libudev undefined symbol lookup errors

I was having trouble with Minecraft failing to use pulseaudio when using my system libraries (rather than the bundled ones it packages). I tracked it down to this suspicious error:

failed to load libpulse.so.0: /usr/lib/libsystemd.so.0: undefined symbol: __epoll_pwait2_time64

I can reproduce this by loading libsystemd.so.0 directly:

$ LD_DEBUG=libs LD_PRELOAD=/usr/lib/libsystemd.so.0 /usr/bin/true
     27512:     find library=libc.so.6 [0]; searching
     27512:      search cache=/etc/ld.so.cache
     27512:       trying file=/usr/lib/libc.so.6
     27512:
     27512:     find library=libgcc_s.so.1 [0]; searching
     27512:      search cache=/etc/ld.so.cache
     27512:       trying file=/usr/lib/libgcc_s.so.1
     27512:
     27512:
     27512:     calling init: /lib64/ld-linux-x86-64.so.2
     27512:
     27512:
     27512:     calling init: /usr/lib/libc.so.6
     27512:
     27512:
     27512:     calling init: /usr/lib/libgcc_s.so.1
     27512:
     27512:
     27512:     calling init: /usr/lib/libsystemd.so.0
     27512:
     27512:     /usr/lib/libsystemd.so.0: error: symbol lookup error: undefined symbol: removexattrat (fatal)
     27512:     /usr/lib/libsystemd.so.0: error: symbol lookup error: undefined symbol: setxattrat (fatal)
     27512:     /usr/lib/libsystemd.so.0: error: symbol lookup error: undefined symbol: fchmodat2 (fatal)
     27512:     /usr/lib/libsystemd.so.0: error: symbol lookup error: undefined symbol: rt_tgsigqueueinfo (fatal)
     27512:     /usr/lib/libsystemd.so.0: error: symbol lookup error: undefined symbol: open_tree_attr (fatal)
     27512:     /usr/lib/libsystemd.so.0: error: symbol lookup error: undefined symbol: kcmp (fatal)
     27512:     /usr/lib/libsystemd.so.0: error: symbol lookup error: undefined symbol: request_key (fatal)
     27512:     /usr/lib/libsystemd.so.0: error: symbol lookup error: undefined symbol: add_key (fatal)
     27512:     /usr/lib/libsystemd.so.0: error: symbol lookup error: undefined symbol: keyctl (fatal)
     27512:     /usr/lib/libsystemd.so.0: error: symbol lookup error: undefined symbol: __epoll_pwait2_time64 (fatal)
     27512:
     27512:     initialize program: /usr/bin/true
     27512:
     27512:
     27512:     transferring control: /usr/bin/true
     27512:
     27512:
     27512:     calling fini:  [0]
     27512:
     27512:
     27512:     calling fini: /usr/lib/libsystemd.so.0 [0]
     27512:
     27512:
     27512:     calling fini: /usr/lib/libgcc_s.so.1 [0]
     27512:
     27512:
     27512:     calling fini: /usr/lib/libc.so.6 [0]
     27512:
     27512:
     27512:     calling fini: /lib64/ld-linux-x86-64.so.2 [0]
     27512:

I also found libudev.so.1 has the same issue:

$ LD_DEBUG=libs LD_PRELOAD=/usr/lib/libudev.so.1 /usr/bin/true
     27886:     find library=libc.so.6 [0]; searching
     27886:      search cache=/etc/ld.so.cache
     27886:       trying file=/usr/lib/libc.so.6
     27886:
     27886:     find library=libgcc_s.so.1 [0]; searching
     27886:      search cache=/etc/ld.so.cache
     27886:       trying file=/usr/lib/libgcc_s.so.1
     27886:
     27886:
     27886:     calling init: /lib64/ld-linux-x86-64.so.2
     27886:
     27886:
     27886:     calling init: /usr/lib/libc.so.6
     27886:
     27886:
     27886:     calling init: /usr/lib/libgcc_s.so.1
     27886:
     27886:
     27886:     calling init: /usr/lib/libudev.so.1
     27886:
     27886:     /usr/lib/libudev.so.1: error: symbol lookup error: undefined symbol: removexattrat (fatal)
     27886:     /usr/lib/libudev.so.1: error: symbol lookup error: undefined symbol: setxattrat (fatal)
     27886:     /usr/lib/libudev.so.1: error: symbol lookup error: undefined symbol: fchmodat2 (fatal)
     27886:     /usr/lib/libudev.so.1: error: symbol lookup error: undefined symbol: rt_tgsigqueueinfo (fatal)
     27886:     /usr/lib/libudev.so.1: error: symbol lookup error: undefined symbol: open_tree_attr (fatal)
     27886:     /usr/lib/libudev.so.1: error: symbol lookup error: undefined symbol: kcmp (fatal)
     27886:     /usr/lib/libudev.so.1: error: symbol lookup error: undefined symbol: request_key (fatal)
     27886:     /usr/lib/libudev.so.1: error: symbol lookup error: undefined symbol: add_key (fatal)
     27886:     /usr/lib/libudev.so.1: error: symbol lookup error: undefined symbol: keyctl (fatal)
     27886:     /usr/lib/libudev.so.1: error: symbol lookup error: undefined symbol: __epoll_pwait2_time64 (fatal)
     27886:
     27886:     initialize program: /usr/bin/true
     27886:
     27886:
     27886:     transferring control: /usr/bin/true
     27886:
     27886:
     27886:     calling fini:  [0]
     27886:
     27886:
     27886:     calling fini: /usr/lib/libudev.so.1 [0]
     27886:
     27886:
     27886:     calling fini: /usr/lib/libgcc_s.so.1 [0]
     27886:
     27886:
     27886:     calling fini: /usr/lib/libc.so.6 [0]
     27886:
     27886:
     27886:     calling fini: /lib64/ld-linux-x86-64.so.2 [0]
     27886:

My system is up-to-date and I've never performed a partial upgrade or anything, I successfully ran pacman -Syyu a couple hours ago and rebooted. pacman -Qi for systemd-libs, which owns both of these, and glibc:

> pacman -Qi systemd-libs glibc | grep -v '^Required By'

Name            : systemd-libs
Version         : 261.2-1
Description     : systemd client libraries
Architecture    : x86_64
URL             : https://www.github.com/systemd/systemd
Licenses        : LGPL-2.1-or-later  CC0-1.0  GPL-2.0-or-later WITH Linux-syscall-note
Groups          : None
Provides        : libsystemd  libsystemd.so=0-64  libudev.so=1-64
Depends On      : glibc  libgcc  libgcc_s.so=1-64  libgcrypt  lz4  xz  zstd
Optional Deps   : None
Optional For    : None
Conflicts With  : libsystemd
Replaces        : libsystemd
Installed Size  : 3.72 MiB
Packager        : Christian Hesse <eworm@archlinux.org>
Build Date      : Fri 24 Jul 2026 03:13:59
Install Date    : Sat 25 Jul 2026 15:36:01
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Name            : glibc
Version         : 2.44+r24+g16be1518495f-1
Description     : GNU C Library
Architecture    : x86_64
URL             : https://www.gnu.org/software/libc
Licenses        : GPL-2.0-or-later  LGPL-2.1-or-later
Groups          : None
Provides        : None
Depends On      : linux-api-headers>=4.10  tzdata  filesystem
Optional Deps   : gd: for memusagestat
                  perl: for mtrace [installed]
Optional For    : tzdata
Conflicts With  : None
Replaces        : None
Installed Size  : 50.66 MiB
Packager        : Frederik Schwan <freswa@archlinux.org>
Build Date      : Tue 11 Aug 2026 05:09:02
Install Date    : Fri 21 Aug 2026 19:42:40
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

I struggled to find any existing reports of anything like this but oddly enough I found a user who seems to be having the same issue when running Spiral Knights, which suggests this may have been the case for a while and I've only just noticed it.

Could there be something wrong on my end, or is systemd-libs v261.2-1 really depending on symbols that don't exist? If anyone can repro with the same LD_DEBUG command(s) that'd be good to know. Thanks!

Last edited by goatboy (Yesterday 03:53:25)

Offline

#2 2026-08-21 15:05:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,483

Re: [SOLVED] libsystemd/libudev undefined symbol lookup errors

That's an internal glibc symbol
https://github.com/systemd/systemd/pull/42785
https://github.com/systemd/systemd/pull/42795

No idea what's going on there but that also doesn't look like it made it to any release.

Can you LD_DEBUG minecraft and see what version of glibc is actually used (ie. is it still using a bundled libc?)

Sidebar: PA is kinda deprecated in favor of pipewire/wireplumber and pipewire-pulse to provide the interface.

Offline

#3 Yesterday 03:19:41

lilydjwg
Member
Registered: 2010-06-20
Posts: 72

Re: [SOLVED] libsystemd/libudev undefined symbol lookup errors

There is nothing wrong on your side or systemd's side. I guess you were using the openal library under the hood which had an issue detecting dlopen errors. The errors should be ignored because the return value doesn't indicate an error. It has been fixed 3 weeks ago: https://github.com/kcat/openal-soft/com … 38c44dfa06.

Offline

#4 Yesterday 03:53:14

goatboy
Member
Registered: 2026-08-21
Posts: 2

Re: [SOLVED] libsystemd/libudev undefined symbol lookup errors

Thank you both, that all makes sense now, especially the fact that nothing else but OpenAL was seemingly affected. Nothing to see here then, I can wait for the fix to be released. Thank you!

Offline

Board footer

Powered by FluxBB