You are not logged in.

#1 2020-06-05 05:19:44

SyndromeDayna
Member
Registered: 2019-07-13
Posts: 31

[SOLVED] mpv requires sndio

mpv does not playback mkv file because

mpv: error while loading shared libraries: libsndio.so.7.0: cannot open shared object file: No such file or directory

I had to manually install the missing dependency.

Last edited by SyndromeDayna (2020-06-05 06:26:56)

Offline

#2 2020-06-05 05:23:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 29,046
Website

Re: [SOLVED] mpv requires sndio

No, it does not:

┌─[Shiv ~]
└─╼ pacman -Q mpv sndio                                                                                                                                       
mpv 1:0.32.0-4
error: package 'sndio' was not found

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-06-05 05:28:30

SyndromeDayna
Member
Registered: 2019-07-13
Posts: 31

Re: [SOLVED] mpv requires sndio

My mpv does not playback any video file without it.

Last edited by SyndromeDayna (2020-06-05 05:29:01)

Offline

#4 2020-06-05 05:45:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 29,046
Website

Re: [SOLVED] mpv requires sndio

Then paste some actual details... Version, config, sound card and setup, etc

See How To Ask Questions The Smart Way.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2020-06-05 06:03:50

SyndromeDayna
Member
Registered: 2019-07-13
Posts: 31

Re: [SOLVED] mpv requires sndio

Everything is latest version. Mpv has default config. Firefox and VLC are using PulseAudio without glitches. Sound card is integrated. My mpv just thinks it needs sndio and refuses to start.

Offline

#6 2020-06-05 06:08:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 29,046
Website

Re: [SOLVED] mpv requires sndio

man mpv
   NOTE:
          See  --ao=help  for  a  list  of  compiled-in  audio  output drivers. The driver --ao=alsa is preferred. --ao=pulse is preferred on systems where
          PulseAudio is used. On BSD systems, --ao=oss or --ao=sndio may work (the latter being experimental).

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2020-06-05 06:13:39

SyndromeDayna
Member
Registered: 2019-07-13
Posts: 31

Re: [SOLVED] mpv requires sndio

executing mpv --ao=pulse e3.mkv still yields

mpv: error while loading shared libraries: libsndio.so.7.0: cannot open shared object file: No such file or directory

Offline

#8 2020-06-05 06:14:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 29,046
Website

Re: [SOLVED] mpv requires sndio

Is this a Hyperbola install?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2020-06-05 06:15:56

SyndromeDayna
Member
Registered: 2019-07-13
Posts: 31

Re: [SOLVED] mpv requires sndio

Arch Linux. Installed using official install guide.

Offline

#10 2020-06-05 06:18:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 29,046
Website

Re: [SOLVED] mpv requires sndio

Well, there is something in your environment that is forcing mpv to look for that lib. It is definitely not pacman or vanilla Arch-related. You have either installed or configured something yourself.

But as you haven't shared any actual information, I can't offer any other help.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2020-06-05 06:26:12

SyndromeDayna
Member
Registered: 2019-07-13
Posts: 31

Re: [SOLVED] mpv requires sndio

I will just install sndio then and mark thread as solved. It's a minor issue anyway. Thanks for your help.

Last edited by SyndromeDayna (2020-06-05 06:31:04)

Offline

#12 2020-06-05 18:51:21

xerxes_
Member
Registered: 2018-04-29
Posts: 278

Re: [SOLVED] mpv requires sndio

Check output of 'set | grep -i sndio' or 'set | grep -i mpv' .

Offline

#13 2020-06-05 20:25:55

SyndromeDayna
Member
Registered: 2019-07-13
Posts: 31

Re: [SOLVED] mpv requires sndio

xerxes_ wrote:

Check output of 'set | grep -i sndio' or 'set | grep -i mpv' .

nothing

Offline

#14 2020-06-06 19:01:52

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] mpv requires sndio

`LD_DEBUG=files mpv` would tell you what requests libsndio. The common case here is that you've replaced a repo-provided package with aomething from the AUR and built in a dirty root.

Offline

#15 2020-06-07 05:31:44

SyndromeDayna
Member
Registered: 2019-07-13
Posts: 31

Re: [SOLVED] mpv requires sndio

falconindy wrote:

`LD_DEBUG=files mpv` would tell you what requests libsndio.

Indeed, i have compiled ffmpeg in my "dirty" environment. I did not change PKGBUILD but i guess sndio was installed while i was building it.

Offline

#16 2020-06-07 05:40:37

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 29,046
Website

Re: [SOLVED] mpv requires sndio


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#17 2020-06-07 16:42:03

SyndromeDayna
Member
Registered: 2019-07-13
Posts: 31

Re: [SOLVED] mpv requires sndio

I have built this package.

Offline

Board footer

Powered by FluxBB