SlackwareThis Forum is for the discussion of Slackware Linux.
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.
It's a library issue. I've run across it before but got it working. This time I can't seem to fix it.
ermcgrat@Slackware:~$ gmplayer
gmplayer: error while loading shared libraries: libdv.so.4: cannot open shared object file: No such file or directory
I went to sourceforge and got libdv-0.104 but after installing that I am left with the same error. Oh and I used installpkg to install Mplayer. I know this is probably a very easy fix, can anyone help?
Also on a side note, I installed xmms but it will not play streaming music from say Digitally Imported, while xine does; any ideas on that?
Much thanks in advance.
I've just come from Fedora Core 4 which I really liked, but I must say Slackware 10.2 has been very painless thus far.
You'd better install first the mplayer codecs package from mplayer site,
then compile and install mplayer from source, the compilation is
prefered method as it will optimize mplayer for your hardware and
it will add correctly codecs support (the codecs have to be installed first)
Originally posted by keefaz You'd better install first the mplayer codecs package from mplayer site,
then compile and install mplayer from source, the compilation is
prefered method as it will optimize mplayer for your hardware and
it will add correctly codecs support (the codecs have to be installed first)
I agree, but one thing you might want to do when you compile from source is to do this:
download a utility called checkinstall http://asic-linux.com.mx/~izto/checkinstall/
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var (Slackware seems to like this setup)
# make
# checkinstall (this will build a slackware package for you rather than installing it)
installpkg package.tgz
this is what i do with 90% of my packages
I hate having to make my own build scripts.
I'm going to try Dankle's method next I guess, but I think I'm getting closer. I decided to start over again. First, I obtained the ALL codecs package from Mplayer's site and extracted the contents to /usr/local/lib/codecs/ as specified in the README. Next I recompiled Mplayer. Now when I execute "gmplayer" I get
gmplayer: error while loading shared libraries: libtheora.so.0: cannot open shared object file: No such file or directory
Similar error, different number. I don't understand what I'm doing wrong.
To dankle's post : Unknown parameter: --sysconfdir=/etc
Silly Mplayer just doesn't want to work :X
Last edited by mustangfanatic01; 11-17-2005 at 06:46 PM.
ermcgrat@Slackware:~$ /usr/bin/gmplayer
/usr/bin/gmplayer: error while loading shared libraries: libtheora.so.0: cannot open shared object file: No such file or directory
ermcgrat@Slackware:~$ /usr/local/bin/gmplayer
-bash: /usr/local/bin/gmplayer: No such file or directory
ermcgrat@Slackware:~$
Originally posted by mustangfanatic01 ermcgrat@Slackware:~$ locate libdv.so
ermcgrat@Slackware:~$ locate libtheora.so
ermcgrat@Slackware:~$
I guess I installed libdv wrong then or what? I found the source and compiled it as I found some other forum explaining.
Keep in mind that the locate command depends on updatedb having been run since the new files were placed on the filesystem.
As root, run updatedb, leave it alone until the prompt appears then try the locate commands.
IIRC, in the later releases of slackware, Patrick seemed to have forgotten to make the locate.db file, or didn't put it in the crontab.
Try ls /usr/local/lib/libdv.* and ls /usr/local/lib/libtheora.* and see what you get. If those ls commands come up blank, I would guess the make install placed them in a different directory or they are not installed.
You did remember to run ldconfig after installing the new libs, right?
I have never seen ldconfig before honestly. Now it seems those 2 libraries are in place and now I get the following error:
root@Slackware:/home/ermcgrat# gmplayer
gmplayer: error while loading shared libraries: libdivxdecore.so.0: cannot open shared object file: No such file or directory
root@Slackware:/home/ermcgrat#
Divx related, so does this mean I somehow didn't install the codecs properly before the compile of mplayer? If any of you kind people could walk me through the process to make sure I didn't do something stupid it would be greatly appreciated.
If you got the package from linuxpackages.net check the package's description there, sometimes it tells you the dependencies, and mostly, the dependencies needed are on linuxpackages.net too.
Well I started over from scratch but this time I placed the files in a different directory and specified the directory in the ./configure. Now MPlayer works but there is no gmplayer. Ah well, one step at a time I guess. So if anyone else has this problem; specifically state the location of the codecs, despite the readme telling you what the default is.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.