LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-02-2005, 07:08 AM   #1
trinoo
LQ Newbie
 
Registered: Jan 2005
Location: Singapore
Distribution: Slackware 10
Posts: 19

Rep: Reputation: 0
error when open mplyer or gmplayer


error when open mplyer or gmplayer


* gmplayer: error while loading shared libraries: libmp3lame.so.0: cannot open shared object file: No such file or directory

mplayer: error while loading shared libraries: libmp3lame.so.0: cannot open shared object file: No such file or directory

i had installed lame-20011231-1.src.tgz but still unable to open mplayer. what should i do next?* ***solved***

now it gave me this error

mplayer: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory

Last edited by trinoo; 02-02-2005 at 07:15 AM.
 
Old 02-02-2005, 07:28 AM   #2
freeka
Member
 
Registered: Feb 2005
Posts: 57

Rep: Reputation: 15
now u have to install libpng ;>

next time install such things with ya packet manager, otherwise u have always that kind of problems
 
Old 02-02-2005, 07:29 AM   #3
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
what's the output of :

ls -l /usr/lib |grep libpng

?

egag
 
Old 02-02-2005, 07:38 AM   #4
trinoo
LQ Newbie
 
Registered: Jan 2005
Location: Singapore
Distribution: Slackware 10
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by egag
what's the output of :

ls -l /usr/lib |grep libpng

?

egag
output as below:

lrwxrwxrwx 1 root root 10 2005-02-02 06:27 libpng.a -> libpng12.a
lrwxrwxrwx 1 root root 11 2005-02-02 06:27 libpng.so -> libpng.so.3
lrwxrwxrwx 1 root root 17 2005-02-02 06:27 libpng.so.3 -> libpng.so.3.1.2.5
-rwxr-xr-x 1 root root 196132 2004-05-03 05:50 libpng.so.3.1.2.5
-rw-r--r-- 1 root root 227866 2004-05-03 05:50 libpng12.a
lrwxrwxrwx 1 root root 13 2005-02-02 06:27 libpng12.so -> libpng12.so.0
lrwxrwxrwx 1 root root 19 2005-02-02 06:27 libpng12.so.0 -> libpng12.so.0.1.2.5
-rwxr-xr-x 1 root root 196132 2004-05-03 05:50 libpng12.so.0.1.2.5

freeka: i had compiled libpng but still doesn't work
 
Old 02-02-2005, 07:45 AM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
i have MPlayer-1.0pre5 running with the same libs. you've got .
do you have the same MPlayer version ?

egag
 
Old 02-02-2005, 07:51 AM   #6
freeka
Member
 
Registered: Feb 2005
Posts: 57

Rep: Reputation: 15
but mplayer is right, he want libpng.so.2 and this lib doesnt exist in ya lib directory, so make a link called libpng.so.2 to libpng.so and test
 
Old 02-02-2005, 07:55 AM   #7
paulicat
LQ Newbie
 
Registered: Sep 2003
Location: Canada
Posts: 13

Rep: Reputation: 0
If you are using someones mplayer package, you'd be better off to get the mplayer source and run a ./configure --prefix=/usr --enable-gui && make and let it get YOUR libs. Mplayer does a great job of setting/getting the compile options and performance settings for your specific cpu.
Compiling mplayer on slack is a cake walk, don't be afraid to try it! ;-)
 
Old 02-02-2005, 08:01 AM   #8
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
ah, it isn't self compiled.
that explains the difference.
( i didn't know there were packages for Slack. )

egag
 
Old 02-02-2005, 08:09 AM   #9
trinoo
LQ Newbie
 
Registered: Jan 2005
Location: Singapore
Distribution: Slackware 10
Posts: 19

Original Poster
Rep: Reputation: 0
ok, i go compile and try it out, thanks guys
 
Old 02-02-2005, 08:19 AM   #10
trinoo
LQ Newbie
 
Registered: Jan 2005
Location: Singapore
Distribution: Slackware 10
Posts: 19

Original Poster
Rep: Reputation: 0
is the below shown i had compiled successfully? it is not gui?


root@darkstar:~# mplayer
MPlayer 1.0pre6-3.3.4 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


Usage: mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
-vo <drv[:dev]> select video output driver & device ('-vo help' for a list)
-ao <drv[:dev]> select audio output driver & device ('-ao help' for a list)
vcd://<trackno> play (S)VCD (Super Video CD) track (raw device, no mount)
dvd://<titleno> play DVD title from device instead of plain file
-alang/-slang select DVD audio/subtitle language (by 2-char country code)
-ss <timepos> seek to given (seconds or hh:mm:ss) position
-nosound do not play sound
-fs fullscreen playback (or -vm, -zoom, details in the man page)
-x <x> -y <y> set display resolution (for use with -vm or -zoom)
-sub <file> specify subtitle file to use (also see -subfps, -subdelay)
-playlist <file> specify playlist file
-vid x -aid y select video (x) and audio (y) stream to play
-fps x -srate y change video (x fps) and audio (y Hz) rate
-pp <quality> enable postprocessing filter (details in the man page)
-framedrop enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
<- or -> seek backward/forward 10 seconds
up or down seek backward/forward 1 minute
pgup or pgdown seek backward/forward 10 minutes
< or > step backward/forward in playlist
p or SPACE pause movie (press any key to continue)
q or ESC stop playing and quit program
+ or - adjust audio delay by +/- 0.1 second
o cycle OSD mode: none / seekbar / seekbar + timer
* or / increase or decrease PCM volume
z or x adjust subtitle delay by +/- 0.1 second
r or t adjust subtitle position up/down, also see -vf expand

* * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *
 
Old 02-02-2005, 08:28 AM   #11
freeka
Member
 
Registered: Feb 2005
Posts: 57

Rep: Reputation: 15
lol havent thought of someone wouldnt compile mplayer on his machine but use a precompiled binary version....

yea thats all correct, if ya want a gui try gmplayer
 
Old 02-02-2005, 08:33 AM   #12
trinoo
LQ Newbie
 
Registered: Jan 2005
Location: Singapore
Distribution: Slackware 10
Posts: 19

Original Poster
Rep: Reputation: 0
root@darkstar:~# gmplayer
-su: gmplayer: command not found
 
Old 02-02-2005, 08:36 AM   #13
freeka
Member
 
Registered: Feb 2005
Posts: 57

Rep: Reputation: 15
1. dont work as root for such things, only work as root for administrative stuff.... so ur daily work with ya linux machine should be 99% with ya user account...
2. have u installed gmplayer? when not installed, it cant start ;D
 
Old 02-02-2005, 08:50 AM   #14
roninja
Member
 
Registered: Jan 2005
Location: Perth, Western Australia
Distribution: Slackware 10.2, LFS6.1.1
Posts: 41

Rep: Reputation: 15
to have the gui when you compile from source you have to add --enable-gui e.g.
./configure --enable-gui
make
make install
 
Old 02-02-2005, 08:54 AM   #15
trinoo
LQ Newbie
 
Registered: Jan 2005
Location: Singapore
Distribution: Slackware 10
Posts: 19

Original Poster
Rep: Reputation: 0
trinoo@darkstar:~$ gmplayer
gmplayer: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory

back to this error

where is this libpng.so.2, where i can get it from and place at which directory?
 
  


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
xmms, gmplayer error message? munkie_poo Slackware 9 07-05-2005 03:22 AM
GMplayer won't play movies because it can't open a device TheOneAndOnlySM Linux - Software 7 01-02-2004 07:13 PM
gmplayer - Unable to open vo device Jose Muņiz Linux - Software 0 07-20-2003 12:14 PM
gmplayer and the dreaded -vo error cyris Linux - Software 18 03-28-2003 09:58 AM
gmplayer gives me this error ..... purpleburple Linux - General 2 03-13-2003 05:54 PM

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

All times are GMT -5. The time now is 09:17 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