Ubuntu 15 libavcodec 56

The place to discuss linux version of MakeMKV
Post Reply
tlvranas
Posts: 3
Joined: Fri Apr 08, 2016 1:38 pm

Ubuntu 15 libavcodec 56

Post 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.
MrVideo
Posts: 128
Joined: Sat Feb 27, 2016 2:31 am

Re: Ubuntu 15 libavcodec 56

Post 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.
tlvranas
Posts: 3
Joined: Fri Apr 08, 2016 1:38 pm

Re: Ubuntu 15 libavcodec 56

Post 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.
MrVideo
Posts: 128
Joined: Sat Feb 27, 2016 2:31 am

Re: Ubuntu 15 libavcodec 56

Post 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.
tlvranas
Posts: 3
Joined: Fri Apr 08, 2016 1:38 pm

Re: Ubuntu 15 libavcodec 56

Post 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.
botazefa
Posts: 6
Joined: Wed Apr 13, 2016 11:38 pm

Re: Ubuntu 15 libavcodec 56

Post 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
Post Reply