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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-18-2002, 01:04 AM
|
#1
|
Member
Registered: Sep 2002
Location: MN, USA
Distribution: RedHat 8.0
Posts: 30
Rep:
|
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.
|
|
|
10-18-2002, 12:05 PM
|
#2
|
Member
Registered: Sep 2002
Location: MN, USA
Distribution: RedHat 8.0
Posts: 30
Original Poster
Rep:
|
I re-compiled Mencoder, and it seems to work now.
|
|
|
10-18-2002, 12:07 PM
|
#3
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
What you should've done was to run
/sbin/ldconfig
before running mencoder 
|
|
|
10-19-2002, 10:12 AM
|
#4
|
Member
Registered: Sep 2002
Location: MN, USA
Distribution: RedHat 8.0
Posts: 30
Original Poster
Rep:
|
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.
|
|
|
10-19-2002, 10:24 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
there's a script in the TOOLS directory called mencvcd which does that.
|
|
|
12-11-2002, 05:24 PM
|
#6
|
LQ Newbie
Registered: Dec 2002
Location: Malta
Posts: 3
Rep:
|
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

|
|
|
12-11-2002, 05:32 PM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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
|
|
|
12-12-2002, 01:41 PM
|
#8
|
LQ Newbie
Registered: Dec 2002
Location: Malta
Posts: 3
Rep:
|
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 
|
|
|
12-12-2002, 01:46 PM
|
#9
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
12-23-2002, 05:14 AM
|
#10
|
LQ Newbie
Registered: Dec 2002
Location: Malta
Posts: 3
Rep:
|
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
|
|
|
12-23-2002, 04:39 PM
|
#11
|
Member
Registered: Oct 2002
Distribution: RH 8.0 and fluxbox
Posts: 122
Rep:
|
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 11:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|