Linux - NewbieThis 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.
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.
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).
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.
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.
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>
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.