LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-29-2003, 02:49 AM   #1
HiroP
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
Installing libraries for MPlayer


I want to install MPlayer. I got the rpm 'cos I thought it would be easier. The RPM kept failing dependencies, but I have installed codecs etc, and now the list is down to just a few items (all very similar).

the current output when I try to install is:

----------------------------
error: failed dependencies:

libdivxdecore.so.0 is needed by mplayer-0.91-4plf
libdv.so.2 is needed by mplayer-0.91-4plf
libggi.so.2 is needed by mplayer-0.91-4plf
libgg.so.0 is needed by mplayer-0.91-4plf
libgii.so.0 is needed by mplayer-0.91-4plf
liblirc_client.so.0 is needed by mplayer-0.91-4plf
liblzo.so.1 is needed by mplayer-0.91-4plf
libSDL-1.2.so.0 is needed by mplayer-0.91-4plf
libxvidcore.so is needed by mplayer-0.91-4plf
----------------------------

I have already installed all the codecs including xvid, and I installed libdivxdecore-0.4.7 from source (configure/make/make install). There is a file in /usr/local/lib called libdivxdecore.so (no zero on the end of that). I ran ldconfig too.

These missing files are obviously the same sort of thing, and I get the feeling there's something simple which I'm missing.

Any suggestions?
 
Old 08-29-2003, 02:52 AM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Install from source... it's not difficult and believe me it'll work solidly.

Some apps are just not meant to be packaged because they are very system-specific... mplayer is one of them.
 
Old 08-29-2003, 03:03 AM   #3
elp
Member
 
Registered: Aug 2003
Posts: 66

Rep: Reputation: 16
You can always add the --nodeps switch too rpm command, then it will install without any probs.
 
Old 08-29-2003, 05:41 AM   #4
HiroP
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Getting there.

OK. I will take your advice and install from source. Having got a little further down the track...... When I ./configure (with --enable-gui ) it tells me I don't have gtk.

"Error: the GUI requires GTK (which was not found)"

Now I am pretty certain I have GTK. I even went to uninstall it using RPMdrake (I have Mandrake 9.1) but it has a list of dependencies as long as my arm, so I'm sure it must be there.

I also tried reinstalling GTK with rpms off the install CD, which said it is already installed. I tried -F flag for that too, but no joy.

Do you know why it might be unable to find GTK?

PS - your help is really appreciated.
 
Old 08-29-2003, 06:09 AM   #5
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Re: Getting there.

Quote:
Originally posted by HiroP
OK. I will take your advice and install from source. Having got a little further down the track...... When I ./configure (with --enable-gui ) it tells me I don't have gtk.

"Error: the GUI requires GTK (which was not found)"

Now I am pretty certain I have GTK. I even went to uninstall it using RPMdrake (I have Mandrake 9.1) but it has a list of dependencies as long as my arm, so I'm sure it must be there.

I also tried reinstalling GTK with rpms off the install CD, which said it is already installed. I tried -F flag for that too, but no joy.

Do you know why it might be unable to find GTK?

PS - your help is really appreciated.
Precisely the reason I quit Mandrake and use Slackware now... Things are never in their proper places! Never regretted my move.

Well i guess you have to do a whereis gtk-2 then use the path to the headers (usually /usr/include/gtk-2.0, but under Mandrake, who knows, maybe the Mandrake guys out there can help you with this).

<Edit>
Bargh... I forgot to explain how to use that path, in your mplayer source dir, run ./configure --help it should show you how to include your own gtk prefix... it should be something like ./configure --gtkprefix=/where/your/gtk-2.0/headers/are. I can't remember for sure because I've deleted my mplayer source dir as well as the source tarball.
</Edit>

Last edited by Azmeen; 08-29-2003 at 06:12 AM.
 
Old 08-29-2003, 10:38 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
It's probably a bit easier than that even

On your install CD's locate the gtk-devel or gtk2-devel (depending on which one you plan on using, I'd say gtk is what MPlayer is currently using..) rpm's and install them.

Cool
 
Old 08-29-2003, 10:39 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
And actually, while you are there, go through and add a few others that you will likely want/need along with it:

xfree-devel libs

ncurses-devel

And that's all I can think of off the top of my head.

Cool
 
Old 08-29-2003, 11:32 AM   #8
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Listen to MasterC... he uses Mandy... he sure as hell know it better than me
 
Old 08-29-2003, 01:52 PM   #9
zovres
Member
 
Registered: Sep 2002
Posts: 184

Rep: Reputation: 30
install it with apt
apt.freshrpms.net, download and install the apt for your distrib and then a a root:

apt-get update
apt-get install mplayer

and it will take care of the dependencies and for any other app that you will install with it
 
  


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
Mplayer and shared libraries Equin Linux - Software 1 10-15-2005 01:13 AM
Libraries required for mplayer! tolis Linux - Software 9 12-17-2003 03:01 PM
Need help installing libraries jdruin Linux - Software 5 12-09-2003 03:44 PM
Installing Libraries docGonzo2000 Slackware 1 02-03-2003 10:48 AM
Installing Libraries promet Linux - Newbie 2 05-26-2002 06:20 AM


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