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#17217 - [mpd] missing deps and rebuild

Attached to Project: Arch Linux
Opened by dtw (dibblethewrecker) - Friday, 20 November 2009, 08:21 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 20 November 2009, 17:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

mpd-0.15.5-2

mpd: error while loading shared libraries: libfaad.so.1: cannot open shared object file: No such file or directory

* need rebuild and maybe depend on libfaad2

mpd: error while loading shared libraries: libx264.so.65: cannot open shared object file: No such file or directory

* need rebuild
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Friday, 20 November 2009, 17:37 GMT
Reason for closing:  Not a bug
Additional comments about closing:  see comments
Comment by Andrea Scarpino (BaSh) - Friday, 20 November 2009, 10:44 GMT
  • Field changed: Summary (Missing deps and rebuild for mpd-0.15.5-2 → [mpd] missing deps and rebuild)
  • Field changed: Status (Unconfirmed → Assigned)
  • Task assigned to Andrea Scarpino (BaSh)
mpd needs ffmpeg that needs faac2

anyway it works here
$ ldd /usr/bin/mpd
libfaad.so.2 => /usr/lib/libfaad.so.2 (0xb7562000)
libx264.so.67 => /usr/lib/libx264.so.67 (0xb60c1000)
Comment by dtw (dibblethewrecker) - Friday, 20 November 2009, 14:43 GMT
$ ldd /usr/bin/mpd
libfaad.so.2 => /usr/lib/libfaad.so.2 (0xb7753000)

No listing for libx264.so.67

I'm not saying it's not user error but if i rebuild the pkg it works fine.

Comment by Andrea Scarpino (BaSh) - Friday, 20 November 2009, 14:46 GMT
are you on i686 or x86_64?
Comment by Gerardo Exequiel Pozzi (djgera) - Friday, 20 November 2009, 15:56 GMT
dtw is on i686 (0xb7753000)

x264 is indirectly requested via avcodec

Try this:
$ LD_DEBUG=files /usr/bin/mpd 2>&1 | egrep "(faad|x264).*needed"
6342: file=libfaad.so.2 [0]; needed by /usr/bin/mpd [0]
6342: file=libx264.so.67 [0]; needed by /usr/lib/libavcodec.so.52 [0]
Comment by dtw (dibblethewrecker) - Friday, 20 November 2009, 16:55 GMT
LD_DEBUG=files /usr/bin/mpd 2>&1 | egrep "(faad|x264).*needed"
14690: file=libfaad.so.2 [0]; needed by /usr/bin/mpd [0]
Comment by Gerardo Exequiel Pozzi (djgera) - Friday, 20 November 2009, 17:09 GMT
something is broken on your system

Try this:
pacman -Qo $(ldd /usr/bin/mpd | awk '/usr/ { print $3 }' | sort)

and compare the output with, my output http://djgera.pastebin.com/m23e85a62
Comment by dtw (dibblethewrecker) - Friday, 20 November 2009, 17:35 GMT
I figured it out. avcodec gave me the clue. I have a custom version of ffmpeg which obviously hasn't been rebuilt for a while. I rebuilt that and mpd is suddenly all smiles.

Sorry about that. It looked like mpd though, didn't it? :P

Loading...