ffmpeg – libx264.so.155: cannot open shared object file: No such file or directory
While the above is true, I have:
$ sudo apt install libx264-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libx264-dev is already the newest version (2:0.160.3011+gitcde9a93-2.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I have built a custom ffmpeg (from this repo) with this command:
./configure --prefix=/usr --pkg-config=pkg-config --enable-shared --enable-pthreads --enable-zlib --disable-doc --disable-debug --disable-lzma --disable-vaapi --disable-vdpau --disable-outdevs --enable-lto --enable-neon --enable-vfp --enable-gnutls --enable-libopus --enable-hardcoded-tables --enable-libmp3lame --enable-gpl --enable-libx264 --enable-version3 --enable-nonfree --enable-libdrm --enable-librga --enable-rkmpp --enable-libfdk-aac
However during run:
$ ffmpeg
ffmpeg: error while loading shared libraries: libx264.so.155: cannot open shared object file: No such file or directory
I do understand what does this mean. But I have newer libx264 installed.
What’s the recommended way to deal with this?
- Symlink v160 to v155?
- Build 155 from source?
- Other?
Read more here: Source link
