You are not logged in.
Pages: 1
Just upgraded mpd to 0.14-2, now mpd won't start, when I try to start it I get this error:
mpd: error while loading shared libraries: libavcodec.so.51: cannot open shared object file: No such file or directory
One person in #mpd@freenode told me this was because of ffmpeg problems since /usr/lib/libavcodec.so.52 exists in file system. Running testing btw, any idea on how to fix this? The same person in #mpd told me to downgrade ffmpeg...
We met up with the aliens and guess what? They have no word for fluffy!
Offline
Try make a symbolic link
as root :
ln -s /usr/lib/libavcodec.so.52 /usr/lib/libavcodec.so.51
Offline
Or even better, try recompiling mpd.
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
Firstly I couldn't start mpd either but without that error message and then I compiled it and it started but during playback the sound was extremely low(even at highest volume settings) and eventually I had to do this from the wiki and it seems back to normal but im not sure if using dmix is going to effect the output quality.
Last edited by ST.x (2009-01-18 06:00:54)
ARCH64 | XMonad | Configs | myAURpkgs | ArchWiki Contribs | Screenies
Offline
Try make a symbolic link
as root :
ln -s /usr/lib/libavcodec.so.52 /usr/lib/libavcodec.so.51
Works Perfectly! Figured it was a simple fix as this, thanks!
Offline
I used makepkg to build MPD 0.14 and it's working fine for me.
libavcodec.so.51 comes with ffmpeg 20080715-3 (extra), but in the testing is 20081220-1.
I have no libavcodec.so.52 on my system (i don't use testing repo). So may be there is an issue with ffmeg from testing repo...?
Offline
skualito wrote:Try make a symbolic link
as root :
ln -s /usr/lib/libavcodec.so.52 /usr/lib/libavcodec.so.51
Works Perfectly! Figured it was a simple fix as this, thanks!
This is not a good idea: there may be subtle differences between those two libs that cause strange bugs eventually. The good fix is to recompile mpd so it uses .so.52. You can use the magic of abs:
$ su
# abs
# cd /var/abs/extra/mpd
# su <yourusername>
$ makepkg
$ su
# pacman -U *.pkg.tar.gz
Offline
Never make symbolic links like that. You're going to start introducing very hard to track bugs.
Offline
The weird thing now is when I've updated abs, but yet when looking at the PKGBUILD it's 0.13-2 not 0.14? Yes abs is up to date, just updated, and checking out the PKGBUILD we find a link to:
http://musicpd.org/uploads/files/
No 0.14 to be found here... but using the PKGBUILD that I got from abs:
# $Id: PKGBUILD 5677 2008-07-20 05:13:27Z eric $
# Maintainer: Damir Perisa <damir.perisa@bluewin.ch>
# Contributor: Ben <ben@benmazer.net>
pkgname=mpd
pkgver=0.13.2
pkgrel=1
pkgdesc="Music daemon that plays MP3, FLAC, and Ogg Vorbis files"
arch=('i686' 'x86_64')
license=("GPL")
url="http://musicpd.org"
depends=('libid3tag' 'libmad' 'flac>=1.1.3' 'audiofile' 'faad2>=2.6.1' 'libmikmod'
'alsa-lib' 'libshout' 'libmpcdec>=1.2.5' 'libsamplerate' 'libao')
install=mpd.install
source=(http://musicpd.org/uploads/files/mpd-${pkgver}.tar.gz
mpd mpd.conf.example)
md5sums=('33d0c7b08e2c9e2a6ad55703cb0d18d0' 'b1fd15de359db08e4b9ae4b199640f0e'\
'b3e370377d39d17427c50f04a0cdea6e')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --disable-jack --enable-ao -with-zeroconf=no
make || return 1
make DESTDIR=${startdir}/pkg install
install -D ../mpd ${startdir}/pkg/etc/rc.d/mpd
install -Dm644 ../mpd.conf.example ${startdir}/pkg/etc/mpd.conf.example
mkdir -p ${startdir}/pkg/var/lib/mpd/playlists
mkdir -p ${startdir}/pkg/var/log/mpd
mkdir -p ${startdir}/pkg/var/run/mpd
}
Now it works again, symlinking 'works' but as said earlier it can introduce hard to track bugs ... obviously it's 0.13.2 not 0.14. Main thing for me is that it works anyway
Edit: Checked the bug tracker so this is a known bug now and since it hasn't been resolved yet I get why we have 0.13.2 and not 0.14
Last edited by patogen (2009-01-19 04:48:51)
We met up with the aliens and guess what? They have no word for fluffy!
Offline
Edit: Checked the bug tracker so this is a known bug now and since it hasn't been resolved yet I get why we have 0.13.2 and not 0.14
you are wrong there. Building 0.14 with abs would have worked perfectly.
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
patogen wrote:Edit: Checked the bug tracker so this is a known bug now and since it hasn't been resolved yet I get why we have 0.13.2 and not 0.14
you are wrong there. Building 0.14 with abs would have worked perfectly.
How come my /var/abs/extra/mpd/PKGBUILD doesn't have 0.14 and that the mirror:
http://musicpd.org/uploads/files/
That this PKGBUILD is pointing to doesn't have 0.14, and yes I just ran the abs command as root. Could there be a syncing problem with abs for me? And if not too much to ask, could you submit the pkgbuild from your abs dir so I can compile 0.14?
We met up with the aliens and guess what? They have no word for fluffy!
Offline
I just ran yaourt -G mpd to get the latest PKGBUILD
ARCH64 | XMonad | Configs | myAURpkgs | ArchWiki Contribs | Screenies
Offline
You have to get the 0.14 version from testing repo (/var/abs/testing -- you might have to enable testing repo in abs.conf and resync in case it is not enabled by default).
Offline
You have to get the 0.14 version from testing repo (/var/abs/testing -- you might have to enable testing repo in abs.conf and resync in case it is not enabled by default).
Yeah in /var/abs/testing/mpd exists and have the correct version. This solves the problem for now. Thank you very much, I just thought it would be in /var/abs/extra. But since the new 0.14 is in testing ... it's obviously in testing in abs as well. Should have thought of that, but didn't. Thank you!
We met up with the aliens and guess what? They have no word for fluffy!
Offline
This is not a good idea: there may be subtle differences between those two libs that cause strange bugs eventually.
oups, didn't think about that.
Last edited by skualito (2009-01-19 16:25:21)
Offline
yaourt -Sb --noconfirm mpd
and done.
Offline
Pages: 1