Today I ran pkg update, pkg upgrade. I then went to play a video using mpv, and got a message of not being able to open libavcodec.so.60
Did a quick websearch and it seems this problem happens from time to time. There were various suggestions, and I chose the one of reinstalling mpv from ports. Had one small problem of a conflict of dependencies, py311-docutils conflicted with py39-docutils. However, I was able to uninstall the existing py39-docutils. It didn't remove anything else. After reinstalling mpv, using ports, the video played.
I apologize for the paucity of information. I was pretty sleepy and didn't bother to note exact error messages, but I'm putting this here in case someone else does an upgrade today and runs into the same issue. It *seems* (that is, worked for me), that it can be solved by reinstalling mpv from ports (which doesn't take more than a few minutes). I also didn't pay close attention to what, if anything, was removed during the pkg upgrade. So, as a bug report, this is pretty useless, again, I'm posting in case it hits anyone else. Though I can't be sure that something obvious was removed, it may just be a library version bump or the like.
Also, for packages I have it set to latest, not quarterly.
I realized I had a test box to try so got better error messages.
When I first tried to play a video with mpv, I got
But see Mikael's post below. You may just have to pkg delete mpv, then pkg install mpv
Did a quick websearch and it seems this problem happens from time to time. There were various suggestions, and I chose the one of reinstalling mpv from ports. Had one small problem of a conflict of dependencies, py311-docutils conflicted with py39-docutils. However, I was able to uninstall the existing py39-docutils. It didn't remove anything else. After reinstalling mpv, using ports, the video played.
I apologize for the paucity of information. I was pretty sleepy and didn't bother to note exact error messages, but I'm putting this here in case someone else does an upgrade today and runs into the same issue. It *seems* (that is, worked for me), that it can be solved by reinstalling mpv from ports (which doesn't take more than a few minutes). I also didn't pay close attention to what, if anything, was removed during the pkg upgrade. So, as a bug report, this is pretty useless, again, I'm posting in case it hits anyone else. Though I can't be sure that something obvious was removed, it may just be a library version bump or the like.
Also, for packages I have it set to latest, not quarterly.
I realized I had a test box to try so got better error messages.
When I first tried to play a video with mpv, I got
Code:
ld-elf.so.1: /usr/local/lib/libavcodec.so.60: version LIBAVCODEC_60 required by /usr/local/bin/mpv not defined
But see Mikael's post below. You may just have to pkg delete mpv, then pkg install mpv