Thursday, December 27, 2007

libx264.so.54: cannot open shared object file

While trying to render out a DVD-ready file, I'm not sure why I got this libx264 error today:
trying popen( ffmpeg -f yuv4mpegpipe -i - -y -target dvd -ilme -ildct -f mpeg2video /root/synth.m2v)
ffmpeg: error while loading shared libraries: libx264.so.54: cannot open shared object file: No such file or directory


I have the -devel package for libx264 installed. Since I haven't been editing video lately, perhaps I updated the package and did not notice. So the resolution is to link libx264.so.54 to the latest libx264. In my case, that happens to be libx264.so.55.

Since I am running 64-bit Fedora, my libraries are in /usr/lib64. Here is the command:
ln -s /usr/lib64/libx264.so.55 /usr/lib64/libx264.so.54

cheers.

2 comments:

Unknown said...

found your blog through google :)

I have 56 but mplayer was looking for 54, and I'm on 32-bit. This worked for me:

ln -s /usr/lib/libx264.so.56 /usr/lib/libx264.so.54

Thanks !

Cacasodo said...

Good deal, Jaap! Glad I could help.
the mule