LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 12-03-2017, 11:57 AM   #1
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 604

Rep: Reputation: 118Reputation: 118
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.
 
Old 12-03-2017, 01:34 PM   #2
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 456

Rep: Reputation: 233Reputation: 233Reputation: 233
Just for reference:
https://www.linuxquestions.org/quest...8/#post5787546
 
Old 02-14-2018, 07:45 PM   #3
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 604

Original Poster
Rep: Reputation: 118Reputation: 118
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
 
Old 02-15-2018, 03:48 AM   #4
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 679

Rep: Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524
Quote:
Originally Posted by glorsplitz View Post
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.
 
Old 02-15-2018, 04:50 PM   #5
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 604

Original Poster
Rep: Reputation: 118Reputation: 118
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.
Attached Files
File Type: txt blacklist.txt (2.2 KB, 5 views)

Last edited by glorsplitz; 02-15-2018 at 04:57 PM.
 
Old 02-16-2018, 04:51 PM   #6
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 679

Rep: Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524
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.
Old 02-16-2018, 07:32 PM   #7
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 604

Original Poster
Rep: Reputation: 118Reputation: 118
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.
 
Old 02-17-2018, 08:31 PM   #8
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 604

Original Poster
Rep: Reputation: 118Reputation: 118
Excellent detective work drmozes!

removed/reinstalled ffmpeg, mplayer works fine now.

Cheers!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libva and vainfo pchristy Slackware 49 11-30-2017 08:43 AM
libva updates chrisVV Slackware 1 04-13-2017 04:45 PM
[SOLVED] vdpauinfo libva error slackartist Slackware 14 01-18-2016 09:25 PM
VLC Slackware 14 libva stormtracknole Slackware 4 10-05-2012 05:05 AM
How to enable libvdpau, libva (vaapi) and MPlayer with Nvidia driver? linuxs64 Slackware 3 01-11-2011 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 07:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration