You are not logged in.

#1 2022-12-27 11:43:55

megaminxwin
Member
Registered: 2017-07-30
Posts: 16

[SOLVED] ffmpeg expecting wrong shared library

Wow, two topics in one day. Hopefully this one will be easier to solve, though.

I tried running ffmpeg on my desktop, but every time I do I get:

ffmpeg: error while loading shared libraries: libdav1d.so.5: cannot open shared object file: No such file or directory

It's really confusing, because according to the package website, ffmpeg should be expecting libdav1d.so.6, which is what dav1d provides, and which is what lives in /usr/lib. I've triple-checked the packages, and they are definitely up to date; ffmpeg is at 2:5.1.2-1, while dav1d is at 1.0.0-1.

I even tried installing ffmpeg-full from the AUR, which I expected would have compiled against the correct shared library, but it still expected libdav1d.so.5. I thought maybe there was another package that ffmpeg used which relied on dav1d, and maybe that was messing up? But as far as I can tell with pactree, ffmpeg is the only package that depends on dav1d.

Any help would be greatly appreciated. Thanks!

Last edited by megaminxwin (2022-12-27 12:31:09)

Offline

#2 2022-12-27 12:17:14

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] ffmpeg expecting wrong shared library

Check

type ffmpeg
ldd $(which ffmpeg) | grep dav1d

Perhaps you're not calling the ffmpeg binary installed by pacman.


Jin, Jîyan, Azadî

Offline

#3 2022-12-27 12:30:30

megaminxwin
Member
Registered: 2017-07-30
Posts: 16

Re: [SOLVED] ffmpeg expecting wrong shared library

...oh I'm stupid. Yeah, that was it. There was a version of ffmpeg in my home folder that was in my path, I had been using that when I was on Kubuntu, but it obviously messed up with the switch. The actual ffmpeg works fine.

Ever feel silly? Anyway, thank you for making me remember to check things.

Offline

Board footer

Powered by FluxBB