LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mencoder (https://www.linuxquestions.org/questions/linux-software-2/mencoder-33094/)

KL2001 10-18-2002 01:04 AM

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.

KL2001 10-18-2002 12:05 PM

I re-compiled Mencoder, and it seems to work now.

neo77777 10-18-2002 12:07 PM

What you should've done was to run
/sbin/ldconfig
before running mencoder :)

KL2001 10-19-2002 10:12 AM

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.

acid_kewpie 10-19-2002 10:24 AM

there's a script in the TOOLS directory called mencvcd which does that.

xmejn 12-11-2002 05:24 PM

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
:newbie:

acid_kewpie 12-11-2002 05:32 PM

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

xmejn 12-12-2002 01:41 PM

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 :confused:

acid_kewpie 12-12-2002 01:46 PM

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.

xmejn 12-23-2002 05:14 AM

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

ubien 12-23-2002 04:39 PM

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.


All times are GMT -5. The time now is 02:48 PM.