hoyon / mpv-mpris

MPRIS plugin for mpv
MIT License
608 stars 35 forks source link

Can't detect installed libavformat #97

Closed SDD701 closed 1 year ago

SDD701 commented 1 year ago

When I launch mpv I get:

[mpris] C plugin error: 'libavformat.so.58: cannot open shared object file: No such file or directory'
[mpris] Could not load SO plugin /home/SDD/.config/mpv/scripts/mpris.so

But looks like it's installed:

 doas find / -name "libavformat.so"
find: '/run/user/1000/doc': Permission denied
/usr/lib/libavformat.so
/usr/lib64/libavformat.so

ffmpeg is installed, OS Gentoo

kzwkt commented 1 year ago

gentoo has libavformat.so.60 now , can you try by building from src

olifre commented 1 year ago

@SDD701 In case you compiled / installed manually, you need to recompile in case there was an ABI bump on any of the dependencies on your systems (e.g. on Gentoo, media-video/ffmpeg).

In case you are using Gentoo, though, you may want to install mpv-plugin/mpv-mpris from Gentoo's GURU overlay, which takes care of updating and rebuilding when needed via your regular system updates.

SDD701 commented 1 year ago

@SDD701 In case you compiled / installed manually, you need to recompile in case there was an ABI bump on any of the dependencies on your systems (e.g. on Gentoo, media-video/ffmpeg).

In case you are using Gentoo, though, you may want to install mpv-plugin/mpv-mpris from Gentoo's GURU overlay, which takes care of updating and rebuilding when needed via your regular system updates.

I didn't know there is an ebuild in GURU. It works if installed this way, thank you