Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libavformat.so.58: cannot open shared object file: No such file or directory #99

Open
Jinsung-L opened this issue Oct 13, 2023 · 6 comments

Comments

@Jinsung-L
Copy link

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

OS: Ubuntu 23.04 x86_64

'ffmpeg' is installed with apt and 'mpv' is installed with snap.

It seems like my system has installed 'libavformat59'.

$ whereis libavformat.so.59
libavformat.so.59: /usr/lib/x86_64-linux-gnu/libavformat.so.59

Any solution or workarounds?

@akashpal-21
Copy link

+1 Debian 12 same error!!!

@akashpal-21
Copy link

+1 Debian 12 same error!!!

I got it working by installing the plugin from the repo!

@hoyon
Copy link
Owner

hoyon commented Oct 18, 2023

Are you using the version from the GitHub releases page? That's the version built in GitHub Actions which uses Ubuntu 22.04 which must be using an older version of libavformat.

Maybe it'd be better to use static linking for the direct download version while versions in distros repos can continue to use shared linking which will presumably be rebuilt whenever libavformat is updated.

@JustMaris
Copy link

I'm using Manjaro 23.1.0 and checking the ffmpeg package, it says that libavformat dependency is 60-64. Can't find the specific version, but it seems to be above 58 for sure.

@limaceous-bushwhacker
Copy link

limaceous-bushwhacker commented Apr 28, 2024

+1, same issue on LMDE.

EDIT: Package mpv-mpris from Debian repositories seem to work fine.

@revulent
Copy link

revulent commented Nov 1, 2024

I built it and linked it for libavformat 0:7.0.2 (fedora 41) so this might work for people having this issue who can't compile it themselves but if you have the package available from your distro's package manager you should use that
https://files.catbox.moe/o21b6w.so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants