LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-19-2005, 02:22 PM   #1
Matt.Ramos
Member
 
Registered: Jul 2004
Location: Hopatcong, New Jersey
Posts: 70

Rep: Reputation: 15
Attempting to run mplayer returns with libdv.so.4 error


Code:
root@Internets:/home/matt# mplayer
mplayer: error while loading shared libraries: libdv.so.4: cannot open shared object file: No such file or directory
I am running Slackware 10.1 with 2.6.12.3 compiled. I installed mplayer from linuxpackages.net. I googled and searched on the forum for a while trying to find an answer, but I can't. Any help is greatly appreciated.

Thanks!
 
Old 07-19-2005, 02:32 PM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
It's a codec. And mplayer can't find it. Doesn't it start at all? Then you have to find a codec package that has it in it. First place I'd look is the mplayer site and check the 'all codecs' package. If it just runs and you don't need the dv codec you can simply ignore it. The package is compiled to have that support that's why the error's there.
 
Old 07-19-2005, 02:37 PM   #3
Matt.Ramos
Member
 
Registered: Jul 2004
Location: Hopatcong, New Jersey
Posts: 70

Original Poster
Rep: Reputation: 15
When I run it from /usr/bin/ nothing happens, so that's why I went to Terminal. MPlayer's website has been down since this morning, possibly before that.

Should I compile it myself and not installpkg? Can you think of anything else it may be?
 
Old 07-19-2005, 02:44 PM   #4
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
you need:

libdvdcss-1.2.8-i486-1jed.tgz
libdvdread-0.9.4-i486-1maew.tgz
both available at linuxpackages.net

and

essential-20050412.tar.bz2
which are the codecs for most everything you'll watch....once it's untarred, it creates a directly called essential-20050412....you need to move that directory to /usr/local/lib and rename it codecs...that way mplayer will find them

which i know is available from the mplayer site...you might find it someplace else if you google it, tho

Last edited by detpenguin; 07-19-2005 at 02:48 PM.
 
Old 07-19-2005, 02:56 PM   #5
Matt.Ramos
Member
 
Registered: Jul 2004
Location: Hopatcong, New Jersey
Posts: 70

Original Poster
Rep: Reputation: 15
I downloaded and installpkg'd those 2 files, then I found the codecs and put them where they need to be. I renamed the folder, too.

I still get the same message when i type mplayer in Terminal.
 
Old 07-19-2005, 03:06 PM   #6
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
hmmmm...my suggestion then, is to remove the mplayer.tgz version, and grab a tar.bz2 version and compile it for your box...thats the way i have mine running. if you want the gui version too, when you compile, type:

./configure --enable-gui

and that will set up GMPlayer for ya...

personally, i never got the .tgz version from linuxpackages to work on my box, but i thought maybe that was just me...anyways, thats my suggestion...hope it helps
 
Old 07-19-2005, 06:21 PM   #7
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
Install from source then use checkinstall to make a package. The version from linuxpackages has alot of dependencies compiled in. run configure it will show you whats enabled and whats not. If you need something you'll have to get the package it needs and recompile.

Looks like mplayers website finaly got shutdown but I bet you can find the source on a gentoo mirror.

Last edited by Boow; 07-19-2005 at 06:25 PM.
 
  


Reply



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
error when attempting to add printers tjuii Linux - General 3 04-19-2005 02:45 PM
Error when attempting to compile kernel SMurf7 Debian 3 04-05-2005 05:31 PM
".Package mplayer needs libdv.so.2, this is not available." donbellioni Linux - Software 1 12-24-2004 11:20 AM
error message when attempting winex icanspellnew Linux - Software 1 07-18-2004 05:20 AM
following error occured attempting to join the domain redhattan Linux - Networking 5 12-28-2003 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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