LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   dependency issue: libx264.so.54 needed by ffmpeg (https://www.linuxquestions.org/questions/fedora-35/dependency-issue-libx264-so-54-needed-by-ffmpeg-520883/)

PhilTR 01-22-2007 02:15 PM

Dependency issue: libx264.so.54
 
Rebooted and entries for 'x264-0.0.439-1.2.fc4.i386.rpm' and
'x264-devel-0.0.439-1.2.fc4.i386.rpm' remain in /var/log/rpmpkgs

From the terminal:

[root@localhost philtr]# rpm -q x264-devel
x264-devel-0-0.8.20061028.lvn6
[root@localhost philtr]# rpm -q x264
x264-0-0.8.20061028.lvn6

Now the devil has me. Do i delete the 'fc4' entries, edit them, or leave well enough alone? Running 'rpm --rebuilddb' doesn't update '/var/log/rpmpkgs'. Rebooting doesn't help either. phil

gimmee 01-22-2007 02:17 PM

Hi there

I had a similar issure the last couple of days that maybe related. I use 64bit FC6 and use repos FreshRPMS enabled and Livna disabled. After I did an update which included ffmpeg my program Kino wouldnt work any more saying error libavformat.so.51 (64bit) and would not run. I looked in the folder /usr/lib64/libavformat.so.51 and it was definately there.

What I found out was that ffmpeg from FreshRPMS had overwitten my Livna ffmpeg and this caused the problems I had with Kino not running.

I used Yumex to remove ffmpeg. This also removed some other programs that relied on it like Kino, and vlc, and some others. I have it written down at home but are at work at the moment and relying on my poor memory.

I also deleted the files libavformat.so.51 that it was having trouble saying wasnt there and was just incase itn wasnt been over written with the one from Livna.

I then disbled both FreshRPMS and Livna repo as default. then used yum to install

yum --enablerepo=livna -y install ffmpeg kino

This installed ffmpeg and my video editor kino and all dependancies.

This seemed to fix my problem with not finding correct files and libraries when it was actually there.

So be careful on updates when using FreshRPMS and LIvna repos. And delete the files that it says it cant find if they are there before doing an install of the program.

Cheers

Gimmee :):)

PhilTR 01-22-2007 02:18 PM

Dependency issue: libx264.so.54
 
Oooops! Double post. :(

PhilTR 01-22-2007 03:25 PM

Ran the GUI 'Software Updater' and was told that there was an "error updating software".

Details:

[('file /usr/lib/libpostproc.so.51 from install of ffmpeg-0.4.9-0.25.20061030.lvn6 conflicts with file from package ffmpeg-libpostproc-0.4.9-0.8.20070109.fc6', (7, '/usr/lib/libpostproc.so.51', 0L)),
('file /usr/include/postproc/postprocess.h from install of ffmpeg-devel-0.4.9-0.25.20061030.lvn6 conflicts with file from package ffmpeg-libpostproc-0.4.9-0.8.20070109.fc6', (7, '/usr/include/postproc/postprocess.h', 0L)),
('file /usr/lib/libpostproc.so from install of ffmpeg-devel-0.4.9-0.25.20061030.lvn6 conflicts with file from package ffmpeg-libpostproc-0.4.9-0.8.20070109.fc6', (7, '/usr/lib/libpostproc.so', 0L)),
('file /usr/lib/pkgconfig/libpostproc.pc from install of ffmpeg-devel-0.4.9-0.25.20061030.lvn6 conflicts with file from package ffmpeg-libpostproc-0.4.9-0.8.20070109.fc6', (7, '/usr/lib/pkgconfig/libpostproc.pc', 0L))]

Back at the terminal:

[root@localhost philtr]# yum check-update -C
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files

coreutils.i386 5.97-12.3.fc6 updates
cups.i386 1:1.2.7-1.7.fc6 updates
cups-libs.i386 1:1.2.7-1.7.fc6 updates
device-mapper.i386 1.02.13-1.fc6 updates
elfutils.i386 0.125-1.fc6 updates
elfutils-libelf.i386 0.125-1.fc6 updates
elfutils-libelf-devel.i386 0.125-1.fc6 updates
elfutils-libs.i386 0.125-1.fc6 updates
ffmpeg.i386 0.4.9-0.25.20061030.lv livna
ffmpeg-devel.i386 0.4.9-0.25.20061030.lv livna
hpijs.i386 1:1.6.12-1.fc6 updates
hplip.i386 1.6.12-1.fc6 updates
libdvbpsi.i386 0.1.5-2.lvn6 livna
libdvbpsi-devel.i386 0.1.5-2.lvn6 livna
libdvdcss-devel.i386 1.2.9-4.lvn6 livna
libgpod.i386 0.4.2-0.1.fc6 updates
libsane-hpaio.i386 1.6.12-1.fc6 updates
libxslt.i386 1.1.20-1.fc6 updates
libxslt-devel.i386 1.1.20-1.fc6 updates
libxslt-python.i386 1.1.20-1.fc6 updates
logrotate.i386 3.7.4-9.fc6 updates
lvm2.i386 2.02.17-1.fc6 updates
man.i386 1.6d-2.fc6 updates
rhythmbox.i386 0.9.7-1.fc6 updates
selinux-policy.noarch 2.4.6-27.fc6 updates
selinux-policy-targeted.noarch 2.4.6-27.fc6 updates
spamassassin.i386 3.1.7-4.fc6 updates

[root@localhost philtr]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package elfutils-libs.i386 0:0.125-1.fc6 set to be updated
---> Package man.i386 0:1.6d-2.fc6 set to be updated
---> Package libxslt-devel.i386 0:1.1.20-1.fc6 set to be updated
---> Package libxslt.i386 0:1.1.20-1.fc6 set to be updated
---> Package elfutils-libelf-devel.i386 0:0.125-1.fc6 set to be updated
---> Package coreutils.i386 0:5.97-12.3.fc6 set to be updated
---> Package libgpod.i386 0:0.4.2-0.1.fc6 set to be updated
---> Package cups-libs.i386 1:1.2.7-1.7.fc6 set to be updated
---> Package lvm2.i386 0:2.02.17-1.fc6 set to be updated
---> Package logrotate.i386 0:3.7.4-9.fc6 set to be updated
---> Package hplip.i386 0:1.6.12-1.fc6 set to be updated
---> Package ffmpeg-devel.i386 0:0.4.9-0.25.20061030.lvn6 set to be updated
---> Package elfutils-libelf.i386 0:0.125-1.fc6 set to be updated
---> Package libdvdcss-devel.i386 0:1.2.9-4.lvn6 set to be updated
---> Package libdvbpsi.i386 0:0.1.5-2.lvn6 set to be updated
---> Package selinux-policy-targeted.noarch 0:2.4.6-27.fc6 set to be updated
---> Package libsane-hpaio.i386 0:1.6.12-1.fc6 set to be updated
---> Package spamassassin.i386 0:3.1.7-4.fc6 set to be updated
---> Package libxslt-python.i386 0:1.1.20-1.fc6 set to be updated
---> Package libdvbpsi-devel.i386 0:0.1.5-2.lvn6 set to be updated
---> Package cups.i386 1:1.2.7-1.7.fc6 set to be updated
---> Package ffmpeg.i386 0:0.4.9-0.25.20061030.lvn6 set to be updated
---> Package rhythmbox.i386 0:0.9.7-1.fc6 set to be updated
---> Package selinux-policy.noarch 0:2.4.6-27.fc6 set to be updated
---> Package device-mapper.i386 0:1.02.13-1.fc6 set to be updated
---> Package elfutils.i386 0:0.125-1.fc6 set to be updated
---> Package hpijs.i386 1:1.6.12-1.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: elfutils-libelf-devel-static = 0.125-1.fc6 for package: elfutils-libelf-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package elfutils-libelf-devel-static.i386 0:0.125-1.fc6 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
coreutils i386 5.97-12.3.fc6 updates 3.6 M
cups i386 1:1.2.7-1.7.fc6 updates 2.8 M
cups-libs i386 1:1.2.7-1.7.fc6 updates 181 k
device-mapper i386 1.02.13-1.fc6 updates 561 k
elfutils i386 0.125-1.fc6 updates 164 k
elfutils-libelf i386 0.125-1.fc6 updates 52 k
elfutils-libelf-devel i386 0.125-1.fc6 updates 20 k
elfutils-libs i386 0.125-1.fc6 updates 105 k
ffmpeg i386 0.4.9-0.25.20061030.lvn6 livna 1.7 M
ffmpeg-devel i386 0.4.9-0.25.20061030.lvn6 livna 50 k
hpijs i386 1:1.6.12-1.fc6 updates 291 k
hplip i386 1.6.12-1.fc6 updates 8.5 M
libdvbpsi i386 0.1.5-2.lvn6 livna 39 k
libdvbpsi-devel i386 0.1.5-2.lvn6 livna 206 k
libdvdcss-devel i386 1.2.9-4.lvn6 livna 38 k
libgpod i386 0.4.2-0.1.fc6 updates 203 k
libsane-hpaio i386 1.6.12-1.fc6 updates 59 k
libxslt i386 1.1.20-1.fc6 updates 521 k
libxslt-devel i386 1.1.20-1.fc6 updates 323 k
libxslt-python i386 1.1.20-1.fc6 updates 150 k
logrotate i386 3.7.4-9.fc6 updates 39 k
lvm2 i386 2.02.17-1.fc6 updates 1.0 M
man i386 1.6d-2.fc6 updates 263 k
rhythmbox i386 0.9.7-1.fc6 updates 4.4 M
selinux-policy noarch 2.4.6-27.fc6 updates 347 k
selinux-policy-targeted noarch 2.4.6-27.fc6 updates 766 k
spamassassin i386 3.1.7-4.fc6 updates 913 k
Installing for dependencies:
elfutils-libelf-devel-static i386 0.125-1.fc6 updates 60 k

Transaction Summary
=============================================================================
Install 1 Package(s)
Update 27 Package(s)
Remove 0 Package(s)

Total download size: 27 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
file /usr/include/postproc/postprocess.h from install of ffmpeg-devel-0.4.9-0.25.20061030.lvn6 conflicts with file from package ffmpeg-libpostproc-0.4.9-0.8.20070109.fc6
file /usr/lib/libpostproc.so from install of ffmpeg-devel-0.4.9-0.25.20061030.lvn6 conflicts with file from package ffmpeg-libpostproc-0.4.9-0.8.20070109.fc6
file /usr/lib/pkgconfig/libpostproc.pc from install of ffmpeg-devel-0.4.9-0.25.20061030.lvn6 conflicts with file from package ffmpeg-libpostproc-0.4.9-0.8.20070109.fc6
file /usr/lib/libpostproc.so.51 from install of ffmpeg-0.4.9-0.25.20061030.lvn6 conflicts with file from package ffmpeg-libpostproc-0.4.9-0.8.20070109.fc6


The 'ffmpeg' and related packages I installed came from Freshrpms.net.

De-selecting "Updated ffmpeg packages" from Software Updater and then selecting "Apply updates" allowed the update process to proceeded w/o incident.

I sure hope Livna and Freshrpms kiss and make up as this is getting a wee bit old already. Better yet "Software Updater" should install everything that is processed w/o error and just leave the packages that are producing the errors. phil

Junior Hacker 01-22-2007 03:51 PM

I would leave the list in /var/log alone, I believe this list will be updated when you go through an update process with yum, because the procedures you just went through were done with RPM, that is why the list is not updated. If you were to edit the list, I don't think there would be any ill effects. Leave the entries for now and check in a few days after doing some more updates as there are bound to be some available and chances are the list will get updated too.

It's a good thing you put down as much info as you did, every time I trip on a thread in the future with same issues, I will refer them to this thread.

The problems we discovered here tells me, either the licencing issue plays a part (the reason Fedora has Core & Extras packages), or there is a glitch in the protocol involving the development of packages from one department to another, especially when I am led to believe rpm.livna.org is a separate entity all together.

I am also led to believe, YUM is an intelligent RPM package handler, as I mentioned above, there appears to be a naming convention for packages from "updates" department, this is probably how YUM figures out how to properly handle update packages.

I feel it would be best for all, if this thread were presented to Fedora's developers so they can implement or attempt to implement some standards in designing packages/package names and possibly make changes in YUM scrips to resolve this issue. I say that based on the fact that because of the many complaints from many other threads regarding similar issues have kept me busy defending Fedora's massive efforts, and soon I will be back working and not here at LQ.

Looking at it from an executive standpoint, this could also be "by design", if Fedora did not have these little glitches, you may as well just call it "Red Hat Enterprise", which leaves Red Hat without a free open source version. I know nothing about their Enterprise versions other than what I can deduce, because they sell that one, it is bound to be a little more solid and probably worth charging for it, knowing their history.

You will probably have to go through a similar process in the future when newer packages become available for those other FC4 packages, or if there are FC6 counterparts available now you may be able to manually upgrade those now, my advise would be "if it ain't broke, no need to fix it", but of course the discission is yours to make.

Happy trails Phil.

PhilTR 01-22-2007 05:50 PM

Dependency issue: libx264.so.54
 
J.H., I suspect you're right. I'm going to watch '/var/log/rpmpkgs' for the next week or two.

The modification dates for the five log files are:

rpmpkgs was modified 2007-01-22 13:09:15
rpmpkgs.1 was modified 2007-01-20 07:10:53
rpmpkgs.2 was modified 2007-01-13 08:08:25
rpmpkgs.3 was modified 2007-01-06 09:23:05
and
rpmpkgs.4 was modified 2006-12-30 07:27:24

Which looks like a weekly cycle. If memory serves me I did the upgrade on the 18th of this month and the first update, etc. on the 20th. In the past I would do my updates on a Sat. morning while getting my cafine fix. :)

Next prject will to re-build the nVidia drivers so I can watch my movies on my TeeeVeeee again! :)

Junior Hacker 01-22-2007 06:47 PM

I have a few posts regarding Nvidia drivers in other threads, just click on my handle on the left and go through the lists of posts, they may/may not be helpfull.

PhilTR 01-23-2007 11:06 AM

Dependency issue: libx264.so.54
 
I had to reinsall nVidia drivers with each up-dated kernel (three times). Each time went w/o incident. Had to set inittab to level 3 and then re-boot and run the installer. Fortunately, anaconda didn't hose my old and back-up 'xorg.conf' files when I upgraded from FC4 to FC6. Should be a sinch. phil


All times are GMT -5. The time now is 01:27 AM.