Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#15025 - mpd doesn't start after upgrading the package x264

Attached to Project: Arch Linux
Opened by Masse Nicolas (bountykiller) - Tuesday, 09 June 2009, 20:56 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 09 June 2009, 23:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version 3.2.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

Here is what I have when trying to start it:
:: Starting Music Player Daemon [BUSY] /usr/bin/mpd: error while loading shared libraries: libx264.so.66: cannot open shared object file: No such file or directory

I assume the package need to be rebuild with the lastest version of x264 in order to link to the correct file
This task depends upon

Closed by  Eric Belanger (Snowman)
Tuesday, 09 June 2009, 23:52 GMT
Reason for closing:  Not a bug
Comment by Eric Belanger (Snowman) - Tuesday, 09 June 2009, 21:21 GMT
the package is linked against the latest x264. Make sure your system is fully up-to-date.

$ ldd /usr/bin/mpd |grep libx264
libx264.so.67 => /usr/lib/libx264.so.67 (0x00007f8db507c000)
Comment by Masse Nicolas (bountykiller) - Tuesday, 09 June 2009, 21:32 GMT
[root@arch64 ~]# pacman -Sy
:: Synchronizing package databases...
testing 12.6K 9.6K/s 00:00:01 [#####################] 100%
core 33.4K 17.1K/s 00:00:02 [#####################] 100%
extra 375.8K 43.7K/s 00:00:09 [#####################] 100%
community 370.1K 59.8K/s 00:00:06 [#####################] 100%

[root@arch64 ~]# pacman -S mpd
warning: mpd-0.14.2-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): mpd-0.14.2-1

Total Download Size: 0.00 MB
Total Installed Size: 0.45 MB

Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts [#####################] 100%
(1/1) upgrading mpd [#####################] 100%
[root@arch64 ~]# ldd /usr/bin/mpd |grep libx264
libx264.so.66 => /usr/lib/libx264.so.66 (0x00007f4ea395a000)

Is it possible that the binary change without an increase in the version number?
Comment by Eric Belanger (Snowman) - Tuesday, 09 June 2009, 21:36 GMT
try :
pacman -Syu

make sure you have ffmpeg 0.5-1 installed. It's probably the cause of the error.
Comment by Masse Nicolas (bountykiller) - Tuesday, 09 June 2009, 22:06 GMT
It worked :-) (even if I had to force the installation because some package wanted ffmpeg>=20081220).
Note that this kind of problems are quite boring. Not the first time I must upgrade a package to make another one work. But I don't think there is an easy way to solve this.
Anyway thanks for all.
Comment by Gerardo Exequiel Pozzi (djgera) - Tuesday, 09 June 2009, 22:09 GMT
mpd is not linked to libx264.so, it is linked to libavcodec.so.52 that needed libx264.so. So as said Eric, ensure that your ffmpeg is up to date.

$ LD_DEBUG=all /usr/bin/mpd 2>&1 | grep "x264.*needed"
3419: file=libx264.so.67 [0]; needed by /usr/lib/libavcodec.so.52 [0]
Comment by Eric Belanger (Snowman) - Tuesday, 09 June 2009, 23:52 GMT
If the packages that want ffmpeg>=20081220 are in community, file bug reports. The depends should be changed to ffmpeg>=0.5 If they are from unsupported or custom packages, update the ffmpeg depends and rebuild them.

It is generally assumed that users do full system updates. If you only do partial updates, you'll have problems like this one.

Loading...