You are not logged in.

#1 2018-11-24 20:12:00

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 628

[solved] MPD error while loading shared libraries: libxavs2.so.12

Hi to everyone! I would like, again, ask for your help. I updated my Arch linux, and now after update, when i want to launch mpd there is an error:

error while loading shared libraries: libxavs2.so.12: cannot open shared object file: No such file or directory

and mpd wont staty.

/usr/bin/mpd: error while loading shared libraries: libxavs2.so.12: cannot open shared object file: No such file or directory
lis 24 20:55:13 7500_uATX systemd[489]: mpd.service: Main process exited, code=exited, status=127/n/a
lis 24 20:55:13 7500_uATX systemd[489]: mpd.service: Failed with result 'exit-code'.
lis 24 20:55:13 7500_uATX systemd[489]: Failed to start Music Player Daemon.
● mpd.service - Music Player Daemon
   Loaded: loaded (/usr/lib/systemd/user/mpd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2018-11-24 20:55:13 CET; 16min ago
     Docs: man:mpd(1)
           man:mpd.conf(5)
  Process: 2114 ExecStart=/usr/bin/mpd --no-daemon (code=exited, status=127)
 Main PID: 2114 (code=exited, status=127)

lis 24 20:55:13 7500_uATX systemd[489]: Starting Music Player Daemon...
lis 24 20:55:13 7500_uATX mpd[2114]: /usr/bin/mpd: error while loading shared libraries: libxavs2.so.12: cannot open shared object file: No such file or directory
lis 24 20:55:13 7500_uATX systemd[489]: mpd.service: Main process exited, code=exited, status=127/n/a
lis 24 20:55:13 7500_uATX systemd[489]: mpd.service: Failed with result 'exit-code'.
lis 24 20:55:13 7500_uATX systemd[489]: Failed to start Music Player Daemon.
[firekage@7500_uATX ~]$ 

Could somebody help? There is something with libxavs2.so.12 but i don't know what to do more to correct it. Yearlier was the same problem, but few days past it, when i did an upgrade, mpd was fixed. No the error is present again and i cant launch it. Is there something that i could do to fix it?

Last edited by firekage (2018-11-24 21:16:32)

Offline

#2 2018-11-24 20:14:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved] MPD error while loading shared libraries: libxavs2.so.12

Paste your full pacman log.

No, better, paste the full output of `pacman -Syu --debug`.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-11-24 20:56:39

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 628

Re: [solved] MPD error while loading shared libraries: libxavs2.so.12

Cant paste it, it is too large to copy. Don't know how to "catch" output of running pacman into a file to paste it. Sorry for being a noob neutral


I disabled mpd as a user via

systemctl --user disable mpd.service

and enabled as a service

systemctl enable mpd.service

now i see that MPD is correctly started but i have an error regarding database

 error 50 no database 

while in fact, i have correctly placed it in ~/.config/mpd/mpd.conf

Last edited by firekage (2018-11-24 21:07:06)

Offline

#4 2018-11-24 20:57:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved] MPD error while loading shared libraries: libxavs2.so.12


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2018-11-24 21:10:09

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 628

Re: [solved] MPD error while loading shared libraries: libxavs2.so.12

Offline

#6 2018-11-24 21:12:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved] MPD error while loading shared libraries: libxavs2.so.12

And `pacman -Qi mpd`?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2018-11-24 21:19:49

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 628

Re: [solved] MPD error while loading shared libraries: libxavs2.so.12

I solved it. I found on internet that  libxavs2.so.12 is a part of ffmpeg package. I deleted ffmpeg-full, installed ffmpeg. After it i had problem with running it as a user becuse (don't know how) i had enabled it for root and for user accout. On root account there was no database, database error so i disabled root user, reenabled user account and typed correctly password for user account privacy mpd settings.

Thank you for helping me.

I would ask for one thing regarding  libxavs2.so.12. Could you also tell me how to check in this case scenario how to check what file is from what package? I put  libxavs2.so.12 into www and while searching i found that maybe it is a part of ffmpeg - it was, thats why mpd now works. How to check when i would have similar problem with shared object which shared object is from what package?

Offline

#8 2018-11-24 21:24:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved] MPD error while loading shared libraries: libxavs2.so.12

If you install random shit from AUR, it is your job to update it, not pacman's.

pacman -Fo $file

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2018-11-25 13:51:58

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 628

Re: [solved] MPD error while loading shared libraries: libxavs2.so.12

Thank you very much!

BTW - that "shit", just like you wrote, was ffmpeg that should give more options, but i see that it just got something worse.

Last edited by firekage (2018-11-25 13:52:57)

Offline

Board footer

Powered by FluxBB