Incorrect libx264 version for ffmpeg in latest Manjaro snapshot

Today’s Manjaro snapshot seems to break ffmpeg and even video playback in some applications. It seems libx264 was not updated accordingly as well. Please fix this ASAP, thank you.

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

What version of ffmpeg do you have?

Before updating, please uninstall any AUR packages you might have installed (like ffmpeg4.4), do the update, then re-build/install the AUR packages again.

ffmpeg 2:4.4.1.1. I do not have AUR or Flatpack enabled. Note that other applications are also refusing to run with the same error, not just ffmpeg but also Chromium or Blender for example: They want libx 164 but only 163 is currently provided.

Try reinstalling x264 package.

Same issue after sudo pacman -S x264. Like I said 163 appears as the latest version to me, the new applications want 164.

Package bug. Wait for some time:

Will track it there as well, thanks for sharing. Wish the build process paid attention to this sort of thing and didn’t generate a bad snapshot when detecting missing dependencies. A lot of software is broken so I hope it will be fixed in a few hours at most.

Found a workaround for the moment.

https://pkgs.org/download/libx264

Download x264 from Arch Staging then install it with sudo pacman -Ud "/home/user/Downloads/x264-3 0.164.r3081.19856cc-1-x86_64.pkg.tar.zst": This seems fix the broken dependency until it’s resolved in the repository too, at which point I’d do a force reinstall of this package just in case it differs or conflicts with this temporary change.

Manjaro does not have a 2:4.4.1.1 version of ffmpeg and neither do arch.
And the version we do have (2:4.4.1) is built against x264 0.163, so I have no idea where you issue is coming from.

The ffmpeg4.4 package on the other hand seems to be built against x264 0.164.

Strange: I’m on Manjaro stable and after today’s official update many apps are complaining they want x264 0.164. This includes ffmpeg, Chromium, Blender, Hedgewars… the ones I noticed it with today, there might be more. Thus a lot of things are broken at the moment unfortunately.

Can you provide the output of:

pacman -Qs ffmpeg

please?

local/ffmpeg 2:4.4.1-1
    Complete solution to record, convert and stream audio and video
local/ffmpeg4.4 4.4.1-3
    Complete solution to record, convert and stream audio and video
local/ffmpegthumbs 21.12.2-1 (kde-applications kde-multimedia)
    FFmpeg-based thumbnail creator for video files
local/gst-libav 1.18.5-1
    Multimedia graph framework - libav plugin

You seem to have both ffmpeg and ffmpeg4.4 installed.
Looks like hedgewars have pulled it in.

Try removing ffmpeg4.4 (and hedgewars).

Issue seems to indicate that Arch Linux has built ffmpeg4.4 against their Staging repository, which has x264 164 and added the build of ffmpeg4.4 to their regular repo instead of the Staging one.

Interesting: That seems to have resolved the issues, including with Chromium and Blender, wouldn’t have thought about it. Thanks for this suggestion, I reverted the x264 package and all is good now.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.