Slackware - ARM This forum is for the discussion of Slackware ARM. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-03-2017, 11:57 AM
|
#1
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
|
mplayer libva.so.1 => not found ?
from recent change log:Thu Nov 30 08:08:08 UTC
2017x/libva-2.0.0-arm-1.txz: Upgraded. Shared library .so-version bump.
but xap/MPlayer-1.3... has not been rebuilt
ldd /usr/bin/mplayer | grep not
libva.so.1 => not found
libva.so.1 => not found
libva-drm.so.1 => not found
libva-x11.so.1 => not found
Was resolution mentioned in some LQ thread I somehow missed?
Thanks in advance.
|
|
|
12-03-2017, 01:34 PM
|
#2
|
Senior Member
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634
|
|
|
|
02-14-2018, 07:45 PM
|
#3
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
Original Poster
|
not sure if I'm doing something wrong
slackwarearm-current/ChangeLog.txt as of Wed Feb 14 08:08:08 UTC 2018
says:
xap/MPlayer-1.3_20180208-arm-1.txz: Upgraded.
Recompiled against libcdio-2.0.0.
on my rpi3 I see
-rw-r--r-- 1 root root 7447 Feb 14 20:09 /var/log/packages/MPlayer-1.3_20180208-arm-1
and I'm getting this
ldd /usr/bin/mplayer | grep 'not found'
libva.so.1 => not found
libva.so.1 => not found
libva-drm.so.1 => not found
libva-x11.so.1 => not found
as libva*.so.2 are found on my system
If mplayer was rebuilt shouldn't these be so.2? Not sure what I'm doing wrong.
Thanks
|
|
|
02-15-2018, 03:48 AM
|
#4
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,662
|
Quote:
Originally Posted by glorsplitz
slackwarearm-current/ChangeLog.txt as of Wed Feb 14 08:08:08 UTC 2018
says:
xap/MPlayer-1.3_20180208-arm-1.txz: Upgraded.
Recompiled against libcdio-2.0.0.
on my rpi3 I see
-rw-r--r-- 1 root root 7447 Feb 14 20:09 /var/log/packages/MPlayer-1.3_20180208-arm-1
|
Let's download the package and investigate:
Code:
root@zippy:~/# cd /tmp
root@zippy:/tmp# wget ftp://ftp.arm.slackware.com/slackwarearm/slackwarearm-current/slackware/xap/MPlayer-1.3_20180208-arm-1.txz
root@zippy:/tmp# mkdir E
root@zippy:/tmp# cd E
root@zippy:/tmp/E# ROOT=$PWD installpkg /tmp/MPlayer-1.3_20180208-arm-1.txz
Verifying package MPlayer-1.3_20180208-arm-1.txz.
Installing package MPlayer-1.3_20180208-arm-1.txz:
PACKAGE DESCRIPTION:
# MPlayer (Linux movie player)
#
# MPlayer is a movie player for Linux. It plays most MPEG, VOB, AVI,
# Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo,
# YUV4MPEG, FILM, RoQ, PVA files, supported by many native, XAnim,
# and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx,
# DivX 3/4/5 and even WMV movies, too (without the avifile library).
# MPlayer supports 10 types of subtitles formats: VobSub,
# MicroDVD, SubRip, SubViewer, Sami, VPlayer, RT, SSA, AQTitle, MPsub.
#
# Homepage for MPLayer is http://www.mplayerhq.hu/
Executing install script for MPlayer-1.3_20180208-arm-1.txz.
Package MPlayer-1.3_20180208-arm-1.txz installed.
root@zippy:/tmp/E# ldd usr/bin/mplayer | grep libva
libva.so.2 => /usr/lib/libva.so.2 (0xb31f1000)
libva-x11.so.2 => /usr/lib/libva-x11.so.2 (0xb2e6c000)
libva-drm.so.2 => /usr/lib/libva-drm.so.2 (0xb2e59000)
root@zippy:/tmp/E# ldd usr/bin/mplayer | grep "not foun"
root@zippy:/tmp/E#
As you can see, it is linked against the .so.2 version, and there are no missing dependencies.
Download the MPlayer package and do what I've done above.
|
|
|
02-15-2018, 04:50 PM
|
#5
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
Original Poster
|
Code:
root@sarpiwc:~# cd /tmp
root@sarpiwc:/tmp# wget ftp://ftp.arm.slackware.com/slackwarearm/slackwarearm-current/slackware/xap/MPlayer-1.3_20180208-arm-1.txz
--2018-02-15 17:39:44-- ftp://ftp.arm.slackware.com/slackwarearm/slackwarearm-current/slackware/xap/MPlayer-1.3_20180208-arm-1.txz
=> âMPlayer-1.3_20180208-arm-1.txzâ
Resolving ftp.arm.slackware.com (ftp.arm.slackware.com)... 91.109.244.240
Connecting to ftp.arm.slackware.com (ftp.arm.slackware.com)|91.109.244.240|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /slackwarearm/slackwarearm-current/slackware/xap ... done.
==> SIZE MPlayer-1.3_20180208-arm-1.txz ... 2406396
==> PASV ... done. ==> RETR MPlayer-1.3_20180208-arm-1.txz ... done.
Length: 2406396 (2.3M) (unauthoritative)
MPlayer-1.3_20180208-arm-1.txz 100%[===========================================================================>] 2.29M 556KB/s in 4.9s
2018-02-15 17:39:51 (483 KB/s) - âMPlayer-1.3_20180208-arm-1.txzâ saved [2406396]
root@sarpiwc:/tmp# mkdir E
root@sarpiwc:/tmp# cd E
root@sarpiwc:/tmp/E# ROOT=$PWD installpkg /tmp/MPlayer-1.3_20180208-arm-1.txz
Verifying package MPlayer-1.3_20180208-arm-1.txz.
Installing package MPlayer-1.3_20180208-arm-1.txz:
PACKAGE DESCRIPTION:
# MPlayer (Linux movie player)
#
# MPlayer is a movie player for Linux. It plays most MPEG, VOB, AVI,
# Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo,
# YUV4MPEG, FILM, RoQ, PVA files, supported by many native, XAnim,
# and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx,
# DivX 3/4/5 and even WMV movies, too (without the avifile library).
# MPlayer supports 10 types of subtitles formats: VobSub,
# MicroDVD, SubRip, SubViewer, Sami, VPlayer, RT, SSA, AQTitle, MPsub.
#
# Homepage for MPLayer is http://www.mplayerhq.hu/
Executing install script for MPlayer-1.3_20180208-arm-1.txz.
Package MPlayer-1.3_20180208-arm-1.txz installed.
root@sarpiwc:/tmp/E# ldd usr/bin/mplayer | grep libva
libva.so.1 => not found
libva.so.1 => not found
libva-drm.so.1 => not found
libva-x11.so.1 => not found
Code:
ls -la /var/log/packages/libva-*
-rw-r--r-- 1 root root 1782 Dec 2 15:08 /var/log/packages/libva-2.0.0-arm-1
-rw-r--r-- 1 root root 800 Dec 2 14:58 /var/log/packages/libva-utils-2.0.0-arm-1
ls -la /var/log/packages/MPlayer-1.3_20180208-arm-1
-rw-r--r-- 1 root root 7447 Feb 14 20:03 /var/log/packages/MPlayer-1.3_20180208-arm-1
/etc/slackpkg/blacklist attached.
Thank you for looking into this.
Last edited by glorsplitz; 02-15-2018 at 04:57 PM.
|
|
|
02-16-2018, 04:51 PM
|
#6
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,662
|
The problem isn't with MPlayer, it's with another package.
libva is indirectly linked. As you can see, it doesn't appear in the NEEDED section:
Code:
root@zippy:~# objdump -x /usr/bin/mplayer | grep NEEDED
NEEDED libncurses.so.6
NEEDED libtinfo.so.6
NEEDED librt.so.1
NEEDED libgnutls.so.30
NEEDED libsmbclient.so.0
NEEDED libpng16.so.16
NEEDED libz.so.1
NEEDED libmng.so.2
NEEDED libjpeg.so.62
NEEDED libgif.so.7
NEEDED libasound.so.2
NEEDED libdl.so.2
NEEDED libpthread.so.0
NEEDED libbluray.so.2
NEEDED libdvdread.so.4
NEEDED libcdio_cdda.so.2
NEEDED libcdio.so.18
NEEDED libcdio_paranoia.so.2
NEEDED libfreetype.so.6
NEEDED libfontconfig.so.1
NEEDED libfribidi.so.0
NEEDED libglib-2.0.so.0
NEEDED libbz2.so.1
NEEDED liblzo2.so.2
NEEDED libmad.so.0
NEEDED libvorbisenc.so.2
NEEDED libvorbis.so.0
NEEDED libogg.so.0
NEEDED libspeex.so.1
NEEDED libtheoradec.so.1
NEEDED libmpg123.so.0
NEEDED liba52.so.0
NEEDED libopus.so.0
NEEDED libswscale.so.4
NEEDED libswresample.so.2
NEEDED libavformat.so.57
NEEDED libavcodec.so.57
NEEDED libavutil.so.55
NEEDED libpostproc.so.54
NEEDED libdvdnav.so.4
NEEDED libm.so.6
NEEDED libXext.so.6
NEEDED libX11.so.6
NEEDED libXss.so.1
NEEDED libXv.so.1
NEEDED libvdpau.so.1
NEEDED libXinerama.so.1
NEEDED libXxf86vm.so.1
NEEDED libXxf86dga.so.1
NEEDED libaa.so.1
NEEDED libcaca.so.0
NEEDED libvga.so.1
NEEDED libSDL-1.2.so.0
NEEDED libGL.so.1
NEEDED libEGL.so.1
NEEDED libesd.so.0
NEEDED libpulse.so.0
NEEDED libmp3lame.so.0
NEEDED libgtk-x11-2.0.so.0
NEEDED libgdk-x11-2.0.so.0
NEEDED libpangocairo-1.0.so.0
NEEDED libatk-1.0.so.0
NEEDED libcairo.so.2
NEEDED libgdk_pixbuf-2.0.so.0
NEEDED libgio-2.0.so.0
NEEDED libpangoft2-1.0.so.0
NEEDED libpango-1.0.so.0
NEEDED libgobject-2.0.so.0
NEEDED libc.so.6
root@zippy:~#
It's a dependency of /usr/lib/libavutil.so.55:
Code:
root@zippy:~# ldd -v /usr/bin/mplayer | fgrep -A7 libavutil.so.55:
/usr/lib/libavutil.so.55:
libva.so.2 (VA_API_0.33.0) => /usr/lib/libva.so.2
libm.so.6 (GLIBC_2.4) => /lib/libm.so.6
libc.so.6 (GLIBC_2.7) => /lib/libc.so.6
libc.so.6 (GLIBC_2.17) => /lib/libc.so.6
libc.so.6 (GLIBC_2.4) => /lib/libc.so.6
libOpenCL.so.1 (OPENCL_1.0) => /usr/lib/libOpenCL.so.1
libpthread.so.0 (GLIBC_2.4) => /lib/libpthread.so.0
root@zippy:~#
/usr/lib/libavutil.so.55 is directly linked to libva:
Code:
root@zippy:~# objdump -x /usr/lib/libavutil.so.55 | grep NEEDED
NEEDED libX11.so.6
NEEDED libvdpau.so.1
NEEDED libva.so.2
NEEDED libva-x11.so.2
NEEDED libva-drm.so.2
NEEDED libOpenCL.so.1
NEEDED libm.so.6
NEEDED libpthread.so.0
NEEDED libc.so.6
And libva's direct dependencies end at glibc.
Code:
root@zippy:~# ldd -v /usr/lib/libva.so.2
linux-vdso.so.1 (0xbedd7000)
libdl.so.2 => /lib/libdl.so.2 (0xb6e5c000)
libc.so.6 => /lib/libc.so.6 (0xb6cea000)
/lib/ld-linux-armhf.so.3 (0xb6ed5000)
Version information:
/usr/lib/libva.so.2:
libdl.so.2 (GLIBC_2.4) => /lib/libdl.so.2
libc.so.6 (GLIBC_2.4) => /lib/libc.so.6
/lib/libdl.so.2:
ld-linux-armhf.so.3 (GLIBC_PRIVATE) => /lib/ld-linux-armhf.so.3
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
libc.so.6 (GLIBC_2.4) => /lib/libc.so.6
/lib/libc.so.6:
ld-linux-armhf.so.3 (GLIBC_2.4) => /lib/ld-linux-armhf.so.3
ld-linux-armhf.so.3 (GLIBC_PRIVATE) => /lib/ld-linux-armhf.so.3
Since it's /usr/lib/libavutil.so.55 that's the direct link,
Code:
root@zippy:~# fgrep usr/lib/libavutil.so.55 /var/log/packages/*
/var/log/packages/ffmpeg-3.4.1-arm-4:usr/lib/libavutil.so.55.78.100
Try reinstalling or upgrading the ffmpeg package. That might fix it.
|
|
1 members found this post helpful.
|
02-16-2018, 07:32 PM
|
#7
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
Original Poster
|
Thank you again drmozes, your last post has lots of great information.
As I'm short on time lately, I'll follow up as soon as I can and post back.
|
|
|
02-17-2018, 08:31 PM
|
#8
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
Original Poster
|
Excellent detective work drmozes!
removed/reinstalled ffmpeg, mplayer works fine now.
Cheers!
|
|
|
All times are GMT -5. The time now is 07:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|