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 |
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.
|
 |
08-29-2003, 01:49 AM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 3
Rep:
|
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?
|
|
|
08-29-2003, 01:52 AM
|
#2
|
Senior Member
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307
Rep:
|
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.
|
|
|
08-29-2003, 02:03 AM
|
#3
|
Member
Registered: Aug 2003
Posts: 66
Rep:
|
You can always add the --nodeps switch too rpm command, then it will install without any probs.
|
|
|
08-29-2003, 04:41 AM
|
#4
|
LQ Newbie
Registered: Aug 2003
Posts: 3
Original Poster
Rep:
|
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.
|
|
|
08-29-2003, 05:09 AM
|
#5
|
Senior Member
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307
Rep:
|
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 05:12 AM.
|
|
|
08-29-2003, 09:38 AM
|
#6
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
08-29-2003, 09:39 AM
|
#7
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
08-29-2003, 10:32 AM
|
#8
|
Senior Member
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307
Rep:
|
Listen to MasterC... he uses Mandy... he sure as hell know it better than me 
|
|
|
08-29-2003, 12:52 PM
|
#9
|
Member
Registered: Sep 2002
Posts: 184
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 04:06 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
|
|