Page 1 of 1
Ubuntu 15 libavcodec 56
Posted: Fri Apr 08, 2016 1:44 pm
by tlvranas
I have downloaded MakeMKV 1.9.9 and built everything with no problems.
When I try to run I get an error stating that it can;t find libavcodec.so.54. It looks like I have libavcodec.so.56 on my system.
How do I recompile MakeMKV and get it to reference libavcodec.so.56 and not 54?
Thanks.
Re: Ubuntu 15 libavcodec 56
Posted: Sat Apr 09, 2016 1:14 am
by MrVideo
By any chance, is there a symbolic link for libavcodec.so that points to libavcodec.so.56? If so, try removing that link and make a new one that points to libavcodec.so.54.
Re: Ubuntu 15 libavcodec 56
Posted: Mon Apr 11, 2016 11:46 am
by tlvranas
As far as I can tell, there is no libavcodec.so.54 on my system. (I did a find on my entire HD.)
There are a couple references to libavcodec.so.56, but they are in application folders (/usr/lib/lightworks/libavcodec.so -> libavcodec.so.56)
I do have a folder /usr/include/x86_64-linux-gnu/libavcodec with some header files.
Re: Ubuntu 15 libavcodec 56
Posted: Mon Apr 11, 2016 7:42 pm
by MrVideo
tlvranas wrote:As far as I can tell, there is no libavcodec.so.54 on my system. (I did a find on my entire HD.)
Then I do not have a clue as to what to do next.
Re: Ubuntu 15 libavcodec 56
Posted: Mon Apr 11, 2016 10:37 pm
by tlvranas
I was able to find a fix. There is PPA that has 1.9.9 already compiled so I don't have to worry about the files missing.
Re: Ubuntu 15 libavcodec 56
Posted: Wed Apr 13, 2016 11:56 pm
by botazefa
See you resolved this already, but since I'm currently re-building on Linux I thought I'd post a couple notes in the hope it helps someone.
'ldconfig -p" | grep libavcodec may help you find libavcodec
You can hack around this with symlinks typically, eg:
[botazefa@botazefa]$ ls -l /lib64/libavcodec.so.56*
lrwxrwxrwx. 1 root root 23 Feb 3 12:00 /lib64/libavcodec.so.56 -> libavcodec.so.56.60.100
-rwxr-xr-x. 1 root root 10070904 Feb 3 12:00 /lib64/libavcodec.so.56.60.100
note that libavcodec is 'ffmpeg'. installing ffmpeg can be a horrifying experience in itself. Recommend following the git download instructions here so you get the latest code:
http://ffmpeg.org/download.html#get-sources
Check the ffmpeg part of the Linux install instructions for what to do after you git checkout ffmpeg:
http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224. It gives all the steps, minus the installing ffmpeg part