You are not logged in.

#1 2013-10-25 12:37:18

flipper T
Member
Registered: 2012-09-14
Posts: 419

[Solved] mpv / mpv-git errors

Today started getting this error when using mpv-git to play media files

mpv: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory

Tried installing mpv, but get this error when attempting to play media files

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

Last edited by flipper T (2013-10-26 20:29:33)


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#2 2013-10-25 12:44:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] mpv / mpv-git errors

Did you recompile mpv-git?
Is your system up to date?
libass has just been updated https://www.archlinux.org/packages/?name=libass so try an up to date mirror.

Edit: Same thing for sdl2 https://www.archlinux.org/packages/extra/x86_64/sdl2/

Last edited by karol (2013-10-25 12:47:07)

Offline

#3 2013-10-25 12:47:04

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: [Solved] mpv / mpv-git errors

System up to date

Tried recompiling mpv-git, but got error

Checking for zlib ... 
Error: Unable to find development files for zlib.

so installed mpv, with result as per op.

edit: just read your edit smile

Last edited by flipper T (2013-10-25 12:47:38)


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#4 2013-10-25 12:47:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] mpv / mpv-git errors

Please make sure you're using the latest versions of libass.

Offline

#5 2013-10-25 12:51:58

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: [Solved] mpv / mpv-git errors

karol wrote:

Please make sure you're using the latest versions of libass.

I am. Same error.

I think I just need to be patient.


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#6 2013-10-25 12:55:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] mpv / mpv-git errors

I read it the wrong way: you do have the latest version of libass, but not the latest mpv, mpv 0.2.1-2.

Edit: I use

sudo reflector -p http -l 5 --sort rate --save /etc/pacman.d/mirrorlist

to have an up to date serverlist.

Still, with mpv 0.2.1-2 I too get the libass error.

Last edited by karol (2013-10-25 12:57:40)

Offline

#7 2013-10-25 12:58:08

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: [Solved] mpv / mpv-git errors

nope

pacman -Qi mpv
Name           : mpv
Version        : 0.2.1-2
Description    : Video player based on MPlayer/mplayer2
Architecture   : x86_64
URL            : http://mpv.io
Licences       : GPL
Groups         : None
Provides       : None
Depends On     : portaudio  ffmpeg  lcms2  libdvdread  libcdio-paranoia
                 libxinerama  libquvi  mpg123  libxv  libxkbcommon  libva
                 lirc-utils  desktop-file-utils  hicolor-icon-theme  xdg-utils
Optional Deps  : None
Required By    : None
Optional For   : None
Conflicts With : None
Replaces       : None
Installed Size : 1420.00 KiB
Packager       : Giovanni Scafora <giovanni@archlinux.org>
Build Date     : Fri 25 Oct 2013 13:43:17 BST
Install Date   : Fri 25 Oct 2013 13:55:57 BST
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : Signature

I too use reflector.

Last edited by flipper T (2013-10-25 12:58:55)


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#8 2013-10-25 13:02:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] mpv / mpv-git errors

Please open a bug report.


I'll see if I can compile mpv-git.
Edit: Nope:

Checking for SSA/ASS support ... yes 
Checking for libass OSD support ... yes 
Checking for ENCA ... no 
Checking for zlib ... 
Error: Unable to find development files for zlib.

Check "config.log" if you do not understand why it failed.
==> ERROR: A failure occurred in build().
    Aborting...

The part of configl.log about zlib:

============ Checking for zlib ============

#include <zlib.h>
int main(void) { inflate(0, Z_NO_FLUSH); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99  -O2 -g -pipe /tmp/mpv-configure-7236-19380/tmp.c -I. -D_GNU_SOURCE  -I/usr/include/samba-4.0 -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/samba-4.0  -I/usr/include/quvi-0.9        -D_REENTRANT -I/usr/include/SDL2  -D_REENTRANT  -pthread   -I/usr/include/alsa     -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/freetype2      -lncurses -lsmbclient  -lquvi-0.9  -lwayland-client -lwayland-cursor -lxkbcommon   -lXext -lX11 -lpthread -lrt -lXss -lXv -lvdpau  -lva-x11 -lva  -lXinerama -lXxf86vm -lcaca  -lmng -lz -ljpeg -lGL -ldl -lwayland-egl -lwayland-client  -lGL -lEGL -pthread -lSDL2  -lpulse  -lportaudio -lasound -lm -lpthread  -ljack -lpthread -lrt  -lasound  -lbluray  -ldvdread  -lcdio_paranoia -lcdio_cdda -lcdio -lm  -lass  -o /tmp/mpv-configure-7236-19380/tmp -lz
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libSDL2.so: undefined reference to `SDL_UDEV_Init'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libSDL2.so: undefined reference to `SDL_UDEV_Quit'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libSDL2.so: undefined reference to `SDL_UDEV_DelCallback'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libSDL2.so: undefined reference to `SDL_UDEV_AddCallback'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libSDL2.so: undefined reference to `SDL_UDEV_Poll'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libSDL2.so: undefined reference to `SDL_UDEV_Scan'
collect2: error: ld returned 1 exit status

Last edited by karol (2013-10-25 13:05:47)

Offline

#9 2013-10-25 13:05:35

Perfect Gentleman
Member
Registered: 2012-10-25
Posts: 222

Re: [Solved] mpv / mpv-git errors

got the same. removes --enable-sdl2, compiled okay.

Offline

#10 2013-10-25 13:16:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] mpv / mpv-git errors

Perfect Gentleman wrote:

got the same. removes --enable-sdl2, compiled okay.

Indeed, but I still get the libass error.

Offline

#11 2013-10-25 13:19:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] mpv / mpv-git errors

Ah, it's the new ffmpeg. ffmpeg 1:2.0.2-3 should fix it.

Edit: Yup, mpv works again.

Last edited by karol (2013-10-25 13:21:30)

Offline

#12 2013-10-25 13:22:28

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,665
Website

Re: [Solved] mpv / mpv-git errors

libass had a minor version update that ended up with an soname bump.  The developer missed it so packages are being rebuilt as we speak.  mpv is done.  Give it a couple of hours to sync.

The sdl issue looks like this bug: https://bugs.archlinux.org/task/37484 .   The fix can not be released directly as it created an soname bump and so a rebuild is needed.

So, mpv from the repos should work very soon, and you will be able to recompile mpv-git in a day or two.

Offline

#13 2013-10-25 13:26:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] mpv / mpv-git errors

Thanks to Allan and all the devs for a prompt response.

Allan wrote:

you will be able to recompile mpv-git in a day or two.

I just built mpv-git again, with '--enable-sdl2' (i.e. the stock PKGBUILD https://aur.archlinux.org/packages/mp/mpv-git/PKGBUILD ) and it works. <scratches head>

Offline

#14 2013-10-25 13:47:34

Perfect Gentleman
Member
Registered: 2012-10-25
Posts: 222

Re: [Solved] mpv / mpv-git errors

karol wrote:

I just built mpv-git again, with '--enable-sdl2' (i.e. the stock PKGBUILD https://aur.archlinux.org/packages/mp/mpv-git/PKGBUILD ) and it works. <scratches head>

CC      mpvcore/mp_lua.o
CC      video/filter/vf_dlopen.o
CC      mpv
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libSDL2.so: undefined reference to `SDL_UDEV_Init'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libSDL2.so: undefined reference to `SDL_UDEV_Quit'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libSDL2.so: undefined reference to `SDL_UDEV_DelCallback'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libSDL2.so: undefined reference to `SDL_UDEV_AddCallback'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libSDL2.so: undefined reference to `SDL_UDEV_Poll'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/libSDL2.so: undefined reference to `SDL_UDEV_Scan'
collect2: error: ld returned 1 exit status
Makefile:379: recipe for target 'mpv' failed
make: *** [mpv] Error 1

but my PKGBUILD is slightly modified http://pastebin.com/Lf0CvZKS

Last edited by Perfect Gentleman (2013-10-25 13:50:14)

Offline

#15 2013-10-25 13:55:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] mpv / mpv-git errors

I tried compiling mpv-git yet another time and now it doesn't work again - the compilation fails.
I think it's safe to assume that Allan knows more than I do, so I'll just shut up :-)

mpv from the repos works, so I'm happy.
I've also posted a comment on the AUR https://aur.archlinux.org/packages/mpv-git/

Last edited by karol (2013-10-25 13:55:50)

Offline

#16 2013-10-25 14:12:30

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: [Solved] mpv / mpv-git errors

Disabling sdl2 support worked for me.


Use the Source, Luke!

Offline

#17 2013-10-26 17:41:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] mpv / mpv-git errors

The GUI overlay disappeared for me. Anyone else not seeing it with mpv 0.2.1-2?

Edit: https://bugs.archlinux.org/task/37495

Last edited by karol (2013-10-26 17:54:21)

Offline

#18 2013-10-26 20:29:09

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: [Solved] mpv / mpv-git errors

sdl2 upgrade has fixed mpv-git & mpv fixed yesterday.

solved & thanks to all

Last edited by flipper T (2013-10-26 20:47:57)


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

Board footer

Powered by FluxBB