scientificlinuxforum.org QR code
Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Issue with ffmpeg, installation failed
AC=172
 Posted: Jul 13 2012, 08:12 AM
Quote Post


SLF Newbie


Group: Members
Posts: 4
Member No.: 1693
Joined: 13-July 12









Hi,

when I try to install the ffmpeg library or any package related to it, such as
gstreamer ffmpeg plug-in
libavcodec53
libavdevice53
vlc

I got the following error
libavcodec53-0.10.2-54.el6.x86_64 requires libvpx.so.1()(64bit)

The fact is that I do have the library VP8 SDK:
$ ll /usr/lib64/libvpx*
lrwxrwxrwx. 1 root root 15 Jul 7 20:45 /usr/lib64/libvpx.so -> libvpx.so.0.0.0
lrwxrwxrwx. 1 root root 15 Jul 7 20:42 /usr/lib64/libvpx.so.0 -> libvpx.so.0.0.0
lrwxrwxrwx. 1 root root 15 Jul 7 20:42 /usr/lib64/libvpx.so.0.0 -> libvpx.so.0.0.0
-rwxr-xr-x. 1 root root 402K Dec 21 2010 /usr/lib64/libvpx.so.0.0.0
lrwxrwxrwx. 1 root root 15 Jul 7 21:12 /usr/lib64/libvpx.so.1 -> libvpx.so.0.0.0

I am running SL6.2, kernel 2.6.32-220.23.1.el6.x86_64

Any suggestion to solve this issue is welcome!
PMEmail Poster
^
tux99
 Posted: Jul 13 2012, 09:02 AM
Quote Post


SLF Guru
********

Group: Members
Posts: 1154
Member No.: 224
Joined: 28-May 11









What repo are you trying to install from and what repos do you have active?

This sounds like a repo conflict to me but you need to provide the complete output of the 'yum install' command for us to be able to debug this.

Also did you create the symlink "/usr/lib64/libvpx.so.1" manually?

You appear to have libvpx.so.0 installed, not libvpx.so.1.

What's the output of:
rpm -qa|grep vpx


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories)
PM
^
AC=172
 Posted: Jul 13 2012, 09:33 AM
Quote Post


SLF Newbie


Group: Members
Posts: 4
Member No.: 1693
Joined: 13-July 12









I didn't find an "attachment option", thus I pasted the outputs here: I hope it's still readble...


yes, I created libvpx.so.1 manually since I haven't found libvpx.so.1 in any repository.



$ rpm -qa|grep vpx
libvpx-utils-0.9.0-8.el6_0.x86_64
libvpx-0.9.0-8.el6_0.x86_64
libvpx-devel-0.9.0-8.el6_0.x86_64



$ yum repolist
repo id repo name status
adobe-linux-x86_64 Adobe Systems Incorporated 2
atrpms Red Hat Enterprise Linux 6 - x86_64 - ATrpms 2,219
elrepo ELRepo.org Community Enterprise Linux Repository - el6 202
epel Extra Packages for Enterprise Linux 6 - x86_64 7,547
rpmforge RHEL 6.2 - RPMforge.net - dag 4,391
rpmforge-extras RHEL 6.2 - RPMforge.net - extras 643
sl Scientific Linux 6.2 - x86_64 6,339
sl-security Scientific Linux 6.2 - x86_64 - security updates 1,012
sl6x Scientific Linux 6x - x86_64 6,339
sl6x-security Scientific Linux 6x - x86_64 - security updates 1,012
repolist: 29,706



$ yum -v install ffmpeg
Details can be found here.


Mod's edit: please read this item on how to post large pieces of text wink.gif
PMEmail Poster
^
tux99
 Posted: Jul 13 2012, 10:17 AM
Quote Post


SLF Guru
********

Group: Members
Posts: 1154
Member No.: 224
Joined: 28-May 11









Ok, you might as well remove that symlink as it's useless, libvpx.0 and libvpx.1 are different (libvpx.1 is in the libvpx-1.0 package, atrpms has it and my linuxtech repo has it).

The thing is you have made the classic mistake that most newbies to SL / Centos / RH do (it's nothing to be ashamed of, we all live and learn! smile.gif ), i.e. you have enabled loads of conflicting third party repos.
You need to decide between atrpms or rpmforge or epel (elrepo can stay enabled as it generally plays nice with any of them).
(alternatively there is also my linuxtech repo which is specialised in audio/video packages and has quite a few packages that none of the others have so might be interesting to you too, depending on what you are interested in)

My personal opinion about each of these:
atrpms: large choice of packages and generally quite bleeding edge, but packages are of very varying quality
rpmforge: large choice and good quality packages but quite dated versions
epel: large choice and good quality packages, but lack of support for many controversial A/V codecs and packages
linuxtech: (my repo so I'm biased!) smaller choice of packages but focussed on A/V stuff with quite a few interesting packages that no other repo has, packages are mostly recent versions, good quality of packages, very wide support for A/V codecs

Also check what packages you have already installed from any of these three repos before choosing which one you go for as that will necessarily influence your decision.


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories)
PM
^
redman
 Posted: Jul 13 2012, 10:44 AM
Quote Post


SLF Admin
********

Group: Admins
Posts: 1705
Member No.: 2
Joined: 8-April 11









General info on 3rd party repos can be found here,
including info on which ones not to mix.


--------------------
What is SL? - Forum Rules - Info on 3rd Party Repos - How to post images - How to post large text / config files

Desktop: ASUS P5QPL-AM, Intel Dual-Core E6500, 4GB DDR2, ASUS GeForce GT 430 1GB, SL6.4 x86_64
Laptop: ASUS X58L, Intel Dual-Core T3200, 3GB DDR2, Intel GMA X3100, RHEL6.4 x86_64
Test box: Intel S5000PSL, 2x Intel Xeon E5310, 8GB ECC DDR2 FB-DIMM, ASUS GeForce GT 220 1GB, SL6.4 x86_64
PMEmail Poster
^
AC=172
 Posted: Jul 13 2012, 01:06 PM
Quote Post


SLF Newbie


Group: Members
Posts: 4
Member No.: 1693
Joined: 13-July 12









Many thanks for the advices.

I disabled the conflicting repositories, I left atrpms but
yum search libvpx-1.0
returns nothing.

And, of course, I still cannot install ffmpeg.



(thanks Mod for cleaning up my post)
PMEmail Poster
^
tux99
 Posted: Jul 13 2012, 01:13 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1154
Member No.: 224
Joined: 28-May 11









QUOTE (AC=172 @ Jul 13 2012, 03:06 PM)
Many thanks for the advices.

I disabled the conflicting repositories, I left atrpms but
yum search libvpx-1.0
returns nothing.

And, of course, I still cannot install ffmpeg.


libvpx-1.0 is in atrpms testing. I find http://pkgs.org is a good place to search for available packages but I recommend to always install packages with yum, not by downloading them via pkgs.org.
http://pkgs.org/search/?keyword=libvpx&search_on=name&distro=82&arch=64-bit

P.S: this is a good example of why I consider atrpms packages of 'varying' quality. A package in the main repo should never depend on a package in the testing repo that's disabled by default. dry.gif (the other way round would be ok)


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories)
PM
^
AC=172
 Posted: Jul 13 2012, 03:17 PM
Quote Post


SLF Newbie


Group: Members
Posts: 4
Member No.: 1693
Joined: 13-July 12









Great!
It worked!
Thanks!
PMEmail Poster
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll