LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-18-2002, 01:04 AM   #1
KL2001
Member
 
Registered: Sep 2002
Location: MN, USA
Distribution: RedHat 8.0
Posts: 30

Rep: Reputation: 15
mencoder


I know this is covered in the documentation somewhere, as I saw it, but alas, I was not worried about it then, and can't locate where it was. A search also leads me nowhere. I am now asking for help.

When I try to use mencoder, I get:

mencoder: error while loading shared libraries: libmp3lame.so.0: cannot open shared object file: No such file or directory


I checked, and it is in /usr/local/lib with permissions set for everybody to read/write.

[******@c24 ******]$ ls -l /usr/local/lib/libmp3*
-rw-r--r-- 1 root root 347128 Sep 8 14:56 /usr/local/lib/libmp3lame.a
-rwxr-xr-x 1 root root 674 Sep 8 14:56 /usr/local/lib/libmp3lame.la
lrwxrwxrwx 1 root root 19 Sep 8 14:56 /usr/local/lib/libmp3lame.so -> libmp3lame.so.0.0.0
lrwxrwxrwx 1 root root 19 Sep 8 14:56 /usr/local/lib/libmp3lame.so.0 -> libmp3lame.so.0.0.0
-rwxr-xr-x 1 root root 321831 Sep 8 14:56 /usr/local/lib/libmp3lame.so.0.0.0


any ideas on the fix? or maybe someone knows which page had this problem documented?


Thank you in advance for any help.
 
Old 10-18-2002, 12:05 PM   #2
KL2001
Member
 
Registered: Sep 2002
Location: MN, USA
Distribution: RedHat 8.0
Posts: 30

Original Poster
Rep: Reputation: 15
I re-compiled Mencoder, and it seems to work now.
 
Old 10-18-2002, 12:07 PM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
What you should've done was to run
/sbin/ldconfig
before running mencoder
 
Old 10-19-2002, 10:12 AM   #4
KL2001
Member
 
Registered: Sep 2002
Location: MN, USA
Distribution: RedHat 8.0
Posts: 30

Original Poster
Rep: Reputation: 15
heh, I'm learning now...since RH 8.0 is horrible at managing packages, I'm learning to install from source...it's harder than it looks. I hate it when the docs tell you it's easy with only three commands!! I never seem to be as adequate as they are, it always takes me more :-D

BTW, now that I have a Divx4 movie file, can I use mencoder to make it an MPEG 2 for SVCD. I see an option for MPEG1, but not 2.
 
Old 10-19-2002, 10:24 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,373

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
there's a script in the TOOLS directory called mencvcd which does that.
 
Old 12-11-2002, 05:24 PM   #6
xmejn
LQ Newbie
 
Registered: Dec 2002
Location: Malta
Posts: 3

Rep: Reputation: 0
Unhappy mencoder : error loading shared libraries

hi i seem to have the same problem when it comes to running a script in Mplayer whoch converts a vob file to avi (im using Mandrake 9 distribution)
ive checked that libmp3lame.so.0 is in /usr/local/lib/ and it is and i ve tried running /sbin/ldconfig before running the script but still same error

Could anyone pls help ??
TIA for your help
Charmaine
 
Old 12-11-2002, 05:32 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,373

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
you need the mp3lame-devel package so theat menocedr can find if the library is meant to exist or not. when you run ./confgiure for mplayer scroll back up and see if mp3lame supprot gets a yes or a no
 
Old 12-12-2002, 01:41 PM   #8
xmejn
LQ Newbie
 
Registered: Dec 2002
Location: Malta
Posts: 3

Rep: Reputation: 0
hi chris

i checked for mp3lame support after ./configure and all i found was libmp3lame for mencoder which was set to yes.. is this what is required? I also tried to install the mp3lame-devel rpm using rpm -ivh *packagename.rpm but am not sure if it was succesful well iguess not cos when i re ran the script it just gave me the same error COuld there be something im missing out ?

thanks again
char
 
Old 12-12-2002, 01:46 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,373

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
well there are the usual things you should always try, such as running "ldconfig" and also ensuring that you have correctly cleaned the previous compile by "make clean" and starting again. if you're still getting that error try seeing what mencoder thinks it is loading by running "ldd `which mencoder`" should tell you everything it thinks exists.
 
Old 12-23-2002, 05:14 AM   #10
xmejn
LQ Newbie
 
Registered: Dec 2002
Location: Malta
Posts: 3

Rep: Reputation: 0
hi again

thnks for the help i finally got it to work .. yet i have another prob now (What s new!) Im trying ot convert to vcd/svcd yet i cant even get to compile mpegtools or any of it required packages In mjpegtools it keeps telling me whenever i configure that jconfig.h has been unchaged .. Anyone kknows what im doing worng pls Am i suppose to create the jconfig file or something?

thanks again
christmas wishes
Charmaine
 
Old 12-23-2002, 04:39 PM   #11
ubien
Member
 
Registered: Oct 2002
Distribution: RH 8.0 and fluxbox
Posts: 122

Rep: Reputation: 15
Well aslong as we're on the subject of lame, I can't get lame-devel to install. It says that lame 3.92 is required. If I type lame @ console though it says it's version 3.92.
 
  


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
Using mencoder masand Linux - Software 10 05-27-2007 01:12 PM
mencoder command in C salahuddin_66 Programming 1 10-18-2005 10:18 AM
mencoder jackstoage Linux - Software 9 04-22-2005 10:02 PM
How to get MEncoder ? zahoo Linux - Software 1 04-08-2005 07:27 AM
mencoder raw supermatt Linux - Software 3 07-27-2004 02:08 PM


All times are GMT -5. The time now is 02:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration