FS#69273 - paprefs looks for libs where it can't find them
Attached to Project:
Arch Linux
Opened by Mark (markg85) - Sunday, 10 January 2021, 14:54 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 10 January 2021, 15:41 GMT
Opened by Mark (markg85) - Sunday, 10 January 2021, 14:54 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 10 January 2021, 15:41 GMT
|
Details
Install paprefs.
Run it. Observe that much of it is grayed out. That's due to libraries it can't find. The strace output: ❯ strace paprefs 2>&1 |grep /lib/pulse 395:openat(AT_FDCWD, "/usr/lib/pulseaudio/tls/x86_64/x86_64/libpulsecommon-14.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 396:stat("/usr/lib/pulseaudio/tls/x86_64/x86_64", 0x7ffe081c2690) = -1 ENOENT (No such file or directory) 397:openat(AT_FDCWD, "/usr/lib/pulseaudio/tls/x86_64/libpulsecommon-14.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 398:stat("/usr/lib/pulseaudio/tls/x86_64", 0x7ffe081c2690) = -1 ENOENT (No such file or directory) 399:openat(AT_FDCWD, "/usr/lib/pulseaudio/tls/x86_64/libpulsecommon-14.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 400:stat("/usr/lib/pulseaudio/tls/x86_64", 0x7ffe081c2690) = -1 ENOENT (No such file or directory) 401:openat(AT_FDCWD, "/usr/lib/pulseaudio/tls/libpulsecommon-14.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 402:stat("/usr/lib/pulseaudio/tls", 0x7ffe081c2690) = -1 ENOENT (No such file or directory) 403:openat(AT_FDCWD, "/usr/lib/pulseaudio/x86_64/x86_64/libpulsecommon-14.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 404:stat("/usr/lib/pulseaudio/x86_64/x86_64", 0x7ffe081c2690) = -1 ENOENT (No such file or directory) 405:openat(AT_FDCWD, "/usr/lib/pulseaudio/x86_64/libpulsecommon-14.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 406:stat("/usr/lib/pulseaudio/x86_64", 0x7ffe081c2690) = -1 ENOENT (No such file or directory) 407:openat(AT_FDCWD, "/usr/lib/pulseaudio/x86_64/libpulsecommon-14.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 408:stat("/usr/lib/pulseaudio/x86_64", 0x7ffe081c2690) = -1 ENOENT (No such file or directory) 409:openat(AT_FDCWD, "/usr/lib/pulseaudio/libpulsecommon-14.0.so", O_RDONLY|O_CLOEXEC) = 3 417:openat(AT_FDCWD, "/usr/lib/pulseaudio/libdbus-1.so.3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 426:openat(AT_FDCWD, "/usr/lib/pulseaudio/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 585:openat(AT_FDCWD, "/usr/lib/pulseaudio/libsndfile.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 595:openat(AT_FDCWD, "/usr/lib/pulseaudio/libsystemd.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 605:openat(AT_FDCWD, "/usr/lib/pulseaudio/libasyncns.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 673:openat(AT_FDCWD, "/usr/lib/pulseaudio/libFLAC.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 683:openat(AT_FDCWD, "/usr/lib/pulseaudio/libogg.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 693:openat(AT_FDCWD, "/usr/lib/pulseaudio/libvorbis.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 703:openat(AT_FDCWD, "/usr/lib/pulseaudio/libvorbisenc.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 712:openat(AT_FDCWD, "/usr/lib/pulseaudio/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 722:openat(AT_FDCWD, "/usr/lib/pulseaudio/libzstd.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 732:openat(AT_FDCWD, "/usr/lib/pulseaudio/liblz4.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 741:openat(AT_FDCWD, "/usr/lib/pulseaudio/libgcrypt.so.20", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 751:openat(AT_FDCWD, "/usr/lib/pulseaudio/libgpg-error.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 3049:access("/usr/lib/pulse-14.0/modules/module-esound-protocol-tcp.so", F_OK) = -1 ENOENT (No such file or directory) 3050:access("/usr/lib/pulse-14.0/modules/module-native-protocol-tcp.so", F_OK) = 0 3051:access("/usr/lib/pulse-14.0/modules/module-zeroconf-publish.so", F_OK) = -1 ENOENT (No such file or directory) 3052:access("/usr/lib/pulse-14.0/modules/module-zeroconf-discover.so", F_OK) = -1 ENOENT (No such file or directory) 3053:access("/usr/lib/pulse-14.0/modules/module-raop-discover.so", F_OK) = -1 ENOENT (No such file or directory) 3054:access("/usr/lib/pulse-14.0/modules/module-rtp-recv.so", F_OK) = -1 ENOENT (No such file or directory) 3055:access("/usr/lib/pulse-14.0/modules/module-rtp-send.so", F_OK) = -1 ENOENT (No such file or directory) 3056:access("/usr/lib/pulse-14.0/modules/module-rygel-media-server.so", F_OK) = 0 Note that nearly all the libraries it searches for in "/usr/lib/pulseaudio" don't exists. On my pc i only have libpulsecommon-14.0.so, libpulsecore-14.0.so and libpulsedsp.so in that folder. All the other libraries don't exist in /usr/lib/pulseaudio but do in /usr/lib. I think there's something wrong with the prefix when compiling this package. I looked into the PKGBUILD file but didn't see such a thing being set there. |
This task depends upon
I got that from https://www.reddit.com/r/Ubuntu/comments/gvtzpb/ubuntu_2004_lts_x86_64_trying_to_use_paprefs_but/ when i was looking for a reason why all my settings in paprefs were grayed out.
But it turns out that the settings i wanted to access were missing the "module-zeroconf-*" libraries. Which weren't installed.
I installed them which does fix my issues.
The original issue remains the same though. paprefs still looks for libraries in /usr/lib/pulseaudio which are just not living there.
Don't listen to reddit about pretty much anything.