Solved QGIS 3.44.3 : version LIBAVFORMAT_60 required

Hello !
I'm asking for some help because I don't know what to do.
I'm using the latest FreeBSD-Release (14.3 p4) with no problem. However, I tried to start
graphics/QGIS (latest version ; I haven't used it for about a month), and it crashes with the following :
Code:
ld-elf.so.1: /usr/local/lib/libavformat.so.60: version LIBAVFORMAT_60 required by /usr/local/lib/qt5/libQt5WebEngineCore.so.5 not defined

I doubled checked using pkg check for problems (checksums, dependencies...), everything is fine. I tried to use pkg install -f qgis (and qt5-multimedia) too, no luck. I tried to short my config files, but it has no effect. I guess there's something missing/corrupted but I don't really know what to do next.

I also eventually had to reinstall VLC because codecs were missing (??).

The only thing that happened is I had to restore a snapshot after p4 update (thanks nvidia and its not updated drivers, looks better now but it did break things and I ended into single user mode for this, twice).

Thanks for any help !
 
Code:
% pkg which /usr/local/lib/libavformat.so
/usr/local/lib/libavformat.so was installed by package ffmpeg-6.1.2_16,1

Update or reinstall multimedia/ffmpeg
Thanks ! So I tried to force reinstall ffmpeg (latest version, as yours), no luck. Then I removed it using pkg remove -f ffmpeg (without -f, it will remove half of my softwares...), then reinstalled (from tty1, X session closed on tty9), then reboot, but still the same error.
I also used pkg autoremove, it did remove lots of things but I did not change anything.
I'll try to see on my other laptop how it's going, but I'm a bit lost on this one. This error doesn't look documented by anyone.
Thanks !

EDIT : solved ! I followed the file libQt5WebEngineCore.so.5 and this led me to www/qt5-webengine, was looking fine and up-to-date but I used pkg install -f qt5-webengine and it did the trick !
This was easy... But I have to be careful, as some packages looks fine but weird ; I think my snapshot recovery wasn't that good.

Thanks very much :)
 
I remember someone reporting that same LIBAVFORMAT_60 error before. It was with some other consumer of ffmpeg, but the issue seems to be the same. Can't find that post though.

So I tried to force reinstall ffmpeg (latest version, as yours)
Make sure you're not accidentally reinstalling an old one that's still cached locally (package downloads are cached in /var/cache/pkg). To clear that entire cache; pkg clean -a.
 
I remember someone reporting that same LIBAVFORMAT_60 error before. It was with some other consumer of ffmpeg, but the issue seems to be the same. Can't find that post though.
Oops, you were faster replying while I was updating my previous answer... !
Thanks again as usual and sorry if it looks easy things, I'm trying to do the most of FreeBSD by my own...!
 
Everything is easy once you know how it works. The problem is getting to that stage.

I did too. But that was about 25-30 years ago, there's plenty more things to figure out ahead of you, rock on!
I do, thanks to this lovely community !
(Also, I do survive to my customers' Windows 11, so it's fine here lol)
 
Back
Top