LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bluewhite64
User Name
Password
Bluewhite64 This forum is for the discussion of Bluewhite64 Linux.

Notices


Reply
  Search this Thread
Old 06-15-2008, 03:37 PM   #1
arkanunz
LQ Newbie
 
Registered: Jan 2005
Location: BHz-MG
Distribution: Slackware 13 multilib
Posts: 14

Rep: Reputation: 1
mplayer: error while loading shared libraries


Is the MPlayer package ok? (yes, that one in http://data.linux64packages.net:8080...media/mplayer/ )

When I run the mplayer command I got the error message:
Code:
mplayer: error while loading shared libraries: libjack.so.0: cannot open shared object file: No such file or directory
I solved this one compilling the lib from source, but it keeps on error messages:

Code:
mplayer: error while loading shared libraries: libmp3lame.so.0: cannot open shared object file: No such file or directory
bash-3.1$ mplayer
mplayer: error while loading shared libraries: libspeex.so.1: cannot open shared object file: No such file or directory
I tried to compile the MPlayer from source, but it finished with an error (and programming is not exactly my strong point).
Code:
vo_ivtv.c: In function 'ivtv_reset':
vo_ivtv.c:79: error: storage size of 'sd' isn't known
vo_ivtv.c:80: error: storage size of 'sd1' isn't known
vo_ivtv.c:84: error: 'IVTV_STOP_FL_HIDE_FRAME' undeclared (first use in this function)
vo_ivtv.c:84: error: (Each undeclared identifier is reported only once
vo_ivtv.c:84: error: for each function it appears in.)
vo_ivtv.c:87: error: 'IVTV_IOC_STOP_DECODE' undeclared (first use in this function)
vo_ivtv.c:97: error: 'IVTV_IOC_START_DECODE' undeclared (first use in this function)
vo_ivtv.c:80: warning: unused variable 'sd1'
vo_ivtv.c:79: warning: unused variable 'sd'
make[1]: *** [vo_ivtv.o] Error 1
make[1]: Leaving directory `/home/ark/appz/system/mplayer/MPlayer-1.0rc2/libvo'
make: *** [libvo/libvo.a] Error 2

Anyone... Help? ._.'
 
Old 06-15-2008, 03:53 PM   #2
judecn
LQ Newbie
 
Registered: Jul 2007
Distribution: Debian, Angstrom, Familiar, OpenZaurus
Posts: 24

Rep: Reputation: 15
MPlayer is looking for the shared libraries it needs to run, but can't find them. One of two things are likely:

1. You installed MPlayer without installing its dependencies. For example, you need, among other things, libjack, libmp3lame, and libspeex. Those are in separate packages, so you'll need to use your package manager to get them.

2. You installed the aforementioned libraries but not to somewhere typical like /usr/lib or /usr/local/lib. You can either move them into one of those directories, or you can specify where they are located by setting the LD_LIBRARY_PATH environment variable to the absolute path of the directory containing them (the former is better, if you can).

Best of luck!
 
Old 06-15-2008, 03:53 PM   #3
wernerz
Member
 
Registered: Jun 2008
Location: Ottawa, Ontario, Canada
Distribution: debian, dsl-n
Posts: 55

Rep: Reputation: 15
The only suggestion I can give is to run as root:

# ldconfig -v

Do this command before compiling new libraries and after the install. ldconfig re-links system libraries. It has worked for me.
 
Old 06-15-2008, 09:40 PM   #4
arkanunz
LQ Newbie
 
Registered: Jan 2005
Location: BHz-MG
Distribution: Slackware 13 multilib
Posts: 14

Original Poster
Rep: Reputation: 1
Tnkz guys.

I'll give a try...

/* after some time */

w00t \o/

Tnkz guys, it was just some missing libs (libjack, speex, libmpcdec and libdv). Just needed to compile/install

Last edited by arkanunz; 06-15-2008 at 10:50 PM. Reason: solved =P
 
Old 05-08-2012, 08:52 AM   #5
roshowl
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
Wink

Quote:
Originally Posted by arkanunz View Post
Tnkz guys.

I'll give a try...

/* after some time */

w00t \o/

Tnkz guys, it was just some missing libs (libjack, speex, libmpcdec and libdv). Just needed to compile/install
Hi ,how did you get the libs? Would you tell me ?Tnkz
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
mplayer: error while loading shared libraries: madhav_sigdel Linux - Desktop 1 03-27-2007 04:25 PM
error while loading shared libraries: libgvc.so.3: cannot open shared object file coolrock Slackware 6 01-17-2007 05:10 PM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM
mplayer: error while loading shared libraries: libdvdread.so.3: cannot open shared ob Bruce Hill Slackware 6 12-11-2003 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bluewhite64

All times are GMT -5. The time now is 02:02 AM.

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
Open Source Consulting | Domain Registration