Error while loading shared libraries: libvpx.so.9

Hi everyone,

I’ve started to get an error when trying to launch some packages (mpv & spectacle are the one I noticed, but there might be more).

Both won’t open at all. If i try to launch them in the terminal, this is what I get :

╭─heckza@garuda in ~ took 0s
╰─λ mpv
mpv: error while loading shared libraries: libvpx.so.9: cannot open shared object file: No such file or directory

I asked GPT to help me a little. From what I can understand the libvpx.so.9 no longer exist since i have a newer version but some packages are still looking for it for some reasons.

╭─heckza@garuda in ~ as 🧙 took 45s
╰─λ ls -l /usr/lib/libvpx.so*
lrwxrwxrwx    - root 24 Sep 12:58  /usr/lib/libvpx.so -> libvpx.so.11.0.1
lrwxrwxrwx    - root  7 Jul  2020  /usr/lib/libvpx.so.1 -> libvpx.so.1.3.0
lrwxrwxrwx    - root  7 Jul  2020  /usr/lib/libvpx.so.1.3 -> libvpx.so.1.3.0
.rwxr-xr-x 1.7M root  7 Jul  2020  /usr/lib/libvpx.so.1.3.0
lrwxrwxrwx    - root 24 Sep 12:58  /usr/lib/libvpx.so.11 -> libvpx.so.11.0.1
lrwxrwxrwx    - root 24 Sep 12:58  /usr/lib/libvpx.so.11.0 -> libvpx.so.11.0.1
.rwxr-xr-x 3.3M root 24 Sep 12:58  /usr/lib/libvpx.so.11.0.1

I’m afraid of breaking stuff, but I tried, reinstalling packages, ( -Rns ). I tried different suggestion from GPT, but they were mostly for the mpv problem before I saw that Spectacle was also having the same issue, which might suggest I have more packages with the exact same problem.

Apart from Updating (garuda-update / flatpak update & yay -Syu), I did not retry anything just in case it might brake something.

Any help would be nice.

Thanks

System:
Kernel: 6.16.10-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=48ebf633-c7b3-4517-a759-784958aaba76 rw rootflags=subvol=@
quiet loglevel=3
Desktop: KDE Plasma v: 6.4.5 tk: Qt v: N/A info: frameworks v: 6.18.0
wm: kwin_wayland with: ulauncher vt: 1 dm: SDDM Distro: Garuda
base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: MAG X570S TOMAHAWK MAX WIFI (MS-7D54)
v: 1.0 serial: <superuser required> uuid: <superuser required> UEFI: American
Megatrends LLC. v: 1.60 date: 04/29/2023
CPU:
Info: model: AMD Ryzen 9 5950X bits: 64 type: MT MCP arch: Zen 3+ gen: 3
level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
model-id: 0x21 (33) stepping: 2 microcode: 0xA201211
Topology: cpus: 1x dies: 1 clusters: 1 cores: 16 threads: 32 tpc: 2
smt: enabled cache: L1: 1024 KiB desc: d-16x32 KiB; i-16x32 KiB L2: 8 MiB
desc: 16x512 KiB L3: 64 MiB desc: 2x32 MiB
Speed (MHz): avg: 3600 min/max: 582/5086 boost: enabled scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 3600 2: 3600 3: 3600
4: 3600 5: 3600 6: 3600 7: 3600 8: 3600 9: 3600 10: 3600 11: 3600 12: 3600
13: 3600 14: 3600 15: 3600 16: 3600 17: 3600 18: 3600 19: 3600 20: 3600
21: 3600 22: 3600 23: 3600 24: 3600 25: 3600 26: 3600 27: 3600 28: 3600
29: 3600 30: 3600 31: 3600 32: 3600 bogomips: 217593
Flags-basic: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a
ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA GA102 [GeForce RTX 3080 Ti] vendor: eVga.com.
driver: nvidia v: 580.82.09 alternate: nouveau,nvidia_drm
non-free: 550-580.xx+ status: current (as of 2025-08; EOL~2026-12-xx)
arch: Ampere code: GAxxx process: TSMC n7 (7nm) built: 2020-2023 pcie:
gen: 4 speed: 16 GT/s lanes: 16 ports: active: DP-1,DP-2
empty: DP-3,HDMI-A-1 bus-ID: 2d:00.0 chip-ID: 10de:2208 class-ID: 0300
Display: wayland server: X.org v: 1.21.1.18 with: Xwayland v: 24.1.8
compositor: kwin_wayland driver: X: loaded: nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa
gpu: nv_platform,nvidia,nvidia-nvswitch d-rect: 5120x1440 display-ID: 0
Monitor-1: DP-1 pos: primary,left model: AOC Q32G2WG3 serial: <filter>
built: 2020 res: mode: 2560x1440 hz: 165 scale: 100% (1) dpi: 93 gamma: 1.2
size: 697x392mm (27.44x15.43") diag: 800mm (31.5") ratio: 16:9 modes:
max: 2560x1440 min: 640x480
Monitor-2: DP-2 pos: right model: AOC Q32G2WG3 serial: <filter>
built: 2020 res: mode: 2560x1440 hz: 165 scale: 100% (1) dpi: 93 gamma: 1.2
size: 697x392mm (27.44x15.43") diag: 800mm (31.5") ratio: 16:9 modes:
max: 2560x1440 min: 640x480
API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia
x11: drv: nvidia inactive: device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.82.09
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2
memory: 11.72 GiB display-ID: :1.0
API: Vulkan v: 1.4.321 layers: 15 device: 0 type: discrete-gpu name: NVIDIA
GeForce RTX 3080 Ti driver: nvidia v: 580.82.09 device-ID: 10de:2208
surfaces: N/A device: 1 type: cpu name: llvmpipe (LLVM 20.1.8 256 bits)
driver: mesa llvmpipe v: 25.2.4-arch1.1 (LLVM 20.1.8)
device-ID: 10005:0000 surfaces: N/A
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor gpu: corectrl, nvidia-settings,
nvidia-smi wl: wayland-info x11: xdpyinfo, xprop, xrandr
Audio:
Device-1: NVIDIA GA102 High Definition Audio vendor: eVga.com.
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 2d:00.1 chip-ID: 10de:1aef class-ID: 0403
Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 4
speed: 16 GT/s lanes: 16 bus-ID: 2f:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: Micro Star USB Audio driver: hid-generic,snd-usb-audio,usbhid
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-5:3
chip-ID: 0db0:a073 class-ID: 0300
API: ALSA v: k6.16.10-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 1.4.8 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8125 2.5GbE driver: r8169 v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 port: e000 bus-ID: 24:00.0 chip-ID: 10ec:8125
class-ID: 0200
IF: enp36s0 state: down mac: <filter>
Device-2: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: d000 bus-ID: 25:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp37s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-3: Intel Wi-Fi 6E AX210/AX1675 2x2 [Typhoon Peak] driver: iwlwifi
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 27:00.0
chip-ID: 8086:2725 class-ID: 0280
IF: wlp39s0 state: down mac: <filter>
IF-ID-1: docker0 state: down mac: <filter>
IF-ID-2: wg0-mullvad state: unknown speed: N/A duplex: N/A mac: N/A
Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:3 chip-ID: 8087:0032
class-ID: e001
Report: btmgmt ID: hci1 rfk-id: 1 state: up address: <filter> bt-v: 5.4
lmp-v: 13 status: discoverable: no pairing: no class-ID: 6c0104
Device-2: Cambridge Silicon Radio Bluetooth Dongle (HCI mode)
driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1
bus-ID: 3-4:2 chip-ID: 0a12:0001 class-ID: e001
Report: ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0 lmp-v: 6
status: discoverable: no pairing: no class-ID: 6c0104
Drives:
Local Storage: total: 11.83 TiB used: 660.84 GiB (5.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: SFYRS1000G
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: EIFK31.6 temp: 32.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Crucial model: CT1000MX500SSD4
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 023 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: SanDisk model: SSD PLUS 1000GB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 04RL scheme: GPT
ID-4: /dev/sdc maj-min: 8:32 vendor: Seagate model: Portable
size: 4.55 TiB block-size: physical: 4096 B logical: 512 B type: USB
rev: 3.0 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
fw-rev: 0712 scheme: GPT
ID-5: /dev/sdd maj-min: 8:48 vendor: Western Digital
model: WD50NMZW-59A8NS1 size: 4.55 TiB block-size: physical: 4096 B
logical: 512 B type: USB rev: 3.1 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1
tech: HDD rpm: 5400 serial: <filter> fw-rev: 5002 scheme: GPT
Partition:
ID-1: / raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 390.24 GiB (41.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 632 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 390.24 GiB (41.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 390.24 GiB (41.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 390.24 GiB (41.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 62.71 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 34.5 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 64 GiB note: est. available: 62.71 GiB used: 4.33 GiB (6.9%)
Processes: 563 Power: uptime: 0m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 25.02 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 258 default: graphical
tool: systemctl
Packages: 2478 pm: pacman pkgs: 2448 libs: 621
tools: octopi,pacseek,pamac,paru,yay pm: flatpak pkgs: 30 Compilers:
clang: 20.1.8 gcc: 15.2.1 Shell: Bash v: 5.3.3 default: fish v: 4.1.1
running-in: yakuake inxi: 3.3.39
Garuda (2.11.1-1):
System install date:     2024-02-27
Garuda release:          231029
Last full system update: 2025-10-04
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-utils nvidia-open-dkms garuda-hardware-profile-nvidia garuda-hardware-profile-standard garuda-hardware-profile-standard-x11
Windows dual boot:       No/Undetected
Failed units:
--- System Health Check Report ---
23/24 checks run in 1.04 seconds ⌛
Powered by garuda-health 🦅

✅ System health check passed. No issues found.

Heya, could we see the complete package list?

pacman -Q | garuda-privatebin

hereM’s the package list

Heya. Database wise, everything seems to be in order.

Can you try the following and post the full output of all of the commands? (Just select all and paste into https://bin.garudalinux.org, should be fine)

which spectacle
ldd /usr/bin/spectacle
sudo pacman -S spectacle
ldd /usr/bin/spectacle
/usr/bin/spectacle

done!

2 posts were merged into an existing topic: Chaotic-AUR | Packages | Requests | Recompilation | Reports

Okay so, investigating this further something just… seems weird.

You are getting the same package version but a completely different binary…

Are you using any custom pacman repositories?

Could we get the output of garuda-diag for some more through logs?

I’d don’t think I use any custom repos … if I do have some, I didn’t know!

Usually I’ll install packages with pacman first, if it finds nothing I’ll do a search ( -Ss ) and install the version from extras or chaotic

else i’ll try yay

or get a Flatpak or Appimage!

That’s mostly what I do for installing packages. (sometimes installed from github too)

Before I removed MPV Media Player and reinstalled it, it was from the chaotic or extras (don’t remember precisely which one)

Spectacle was default with KDE, so I never touched it.

if I don’t reply to you fast, it’s because I went to sleep, it’s 1:00am here lol

I’m sorry this just makes no sense…

You reinstalled spectacle, and I’m literally comparing it against my own spectacle, and you literally have an entirely different binary.

negative, I looked at my command history and I have not reinstalled Spectacle, only MPV.

I came here as soon as I saw that Spectacle was also having the same error when I typed “spectacle” in the terminal.
(when trying to do a screenshot, i got a Launch Failed notification saying : Could not activate remote peer ‘org.kde.spectacle’: startup job failed ), that when I tried opening it from terminal to see if it was the same error as MPV that can’t launch too)

You can see my command history starting with spectacle

Hi
TL:DR

Can you check if you have this package installed ?

paru -S libvpx

ps. now i see the error too didnt updated today my fault.

:: Synchronising package databases...
garuda downloading...
core downloading...
extra downloading...
multilib downloading...
chaotic-aur downloading...
spawn pacman -Su
:: Starting full system upgrade...
warning: snapper-tools: local (1.3.1-1.6) is newer than chaotic-aur (1.3.1-1)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libvpx (1.15.2-2) breaks dependency 'libvpx.so=9-64' required by avidemux-core-git
:: installing x264 (3:0.165.r3222.b35605a-2) breaks dependency 'libx264.so=164-64' required by avidemux-core-git
:: installing x264 (3:0.165.r3222.b35605a-2) breaks dependency 'libx264.so=164-64' required by avidemux-qt6-git

wired ive updated all no issues .

ps. did you try mpv path to file directly ?

yay -Syu i dont know if this are good because for AUR packages on garuda i just use garuda-update -a. I dont use flatpaks

I already gave this information in the opening post. version 9 is nowhere to be found since it was updated to the latest version.

the garuda-update never update my AUR packages!

because I do yay -Syu right after my reboot, and all my packages are out of date every time and it takes around 1H to update the few AUR packages I have to update. lol

The problem is not libvpx. The issue is mpv and spectacle. You have the latest version, but your latest version is not like the latest version everyone else has… Your spectacle and mpv are not the same. Our mpv and spectacle needs libvpx 11, yours needs version 9. I don’t know how this is happening.

if it can help, when I was trying GPT stuff a little, I pasted an output and It started to talk about Snapshots

What I pasted :

🔍] × which mpv 
/usr/bin/mpv 

╰─λ pacman -Qo $(which mpv) 
/usr/bin/mpv is owned by mpv 1:0.40.0-7 

╰─λ ldd $(which mpv) | grep vpx 
libvpx.so.9 => not found 

╰─λ sudo find / -type f -name mpv -executable 2>/dev/null 
/usr/bin/mpv 
/.snapshots/773/snapshot/usr/bin/mpv 
/.snapshots/774/snapshot/usr/bin/mpv 
/.snapshots/775/snapshot/usr/bin/mpv
/.snapshots/778/snapshot/usr/bin/mpv
/.snapshots/779/snapshot/usr/bin/mpv
/.snapshots/780/snapshot/usr/bin/mpv
/.snapshots/781/snapshot/usr/bin/mpv
/.snapshots/782/snapshot/usr/bin/mpv
/.snapshots/783/snapshot/usr/bin/mpv
/.snapshots/786/snapshot/usr/bin/mpv
/.snapshots/787/snapshot/usr/bin/mpv
/.snapshots/788/snapshot/usr/bin/mpv
/.snapshots/789/snapshot/usr/bin/mpv
/.snapshots/790/snapshot/usr/bin/mpv

[🔴] × mpv --version 
mpv: error while loading shared libraries: libvpx.so.9: cannot open shared object file: No such file or directory

What it replied :

Ah — now it’s crystal clear. 🔍

Even though /usr/bin/mpv is owned by the official Arch package, it’s still linked against libvpx.so.9. That shouldn’t happen with mpv 0.40.0-7 on Arch — the package in the repo is built against libvpx.so.11.

The reason: your /usr/bin/mpv binary is stale, probably because your system was restored from snapshots or manually overwritten, which left an old binary that still expects libvpx.so.9.

The multiple entries in /.snapshots/.../usr/bin/mpv also suggest you’re on Btrfs with snapshots — the system might be executing an old snapshot binary, or pacman didn’t overwrite the existing file because of snapshots.

yes but thats why i wrote use this (again) may was unclear in the post.

garuda-update -a

or

garuda-update --aur

can you try to restore a snapshot before you got this issues?

otherwise you can try to downgrade libvpx back to the erlierer 1.15.0-1 version. This is not helping on your spectacle problem.

May you try to reinstall all again .

garuda-update remote fullfix

Dont trust AI stuuff at all!!! They dont know how the system is made it can just guessing. Your in charge if the system breaks because you did the chatgpt stuff lol.

This is just wrong. The AI is hallucinating. That’s not how that works.

2 Likes

I’ll believe you lol