LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 01-20-2007, 12:07 AM   #1
woodsy934
LQ Newbie
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Kubuntu
Posts: 18

Rep: Reputation: 0
libmp3lame installed, but mplayer configure script doesn't know it's there


I'm trying to run Acidrip in Ubuntu 6.10. I've installed MPlayer from source, as well as lame, etc. When installing dependencies, I prefer to use APT (via Adept) and get a .deb, but when that's not possible I'm not afraid to compile (doesn't make it any easier but sometimes you run out of options).

So I've got everything installed, Acidrip comes up fine, and I get ready to rip my DVD. Acidrip doesn't work, however, so I begin to troubleshoot. Acidrip basically generates an mencoder command, which is:

Code:
mencoder dvd://1 -dvd-device /dev/dvd  -alang English   -info srcform="DVD ripped by acidrip.sf.net" -oac mp3lame -lameopts abr:br=128  -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:vqmin=2:vbitrate=773 -vf pp=de,crop=0:0:0:0,scale=480:-2    -o "/home/sean/dark_passage.avi"
I cut and paste this command into the terminal and get:

Code:
MEncoder 1.0rc1-4.0.3 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

MPlayer was compiled without libmp3lame support.
-lameopts is not an MEncoder option

Exiting... (error parsing command line)
OK, fine, no problem, let's just re-compile mplayer with libmp3lame support turned on. Here's what I get when I run compile: a bunch of stuff followed by this message:

Code:
Checking for libmp3lame (for mencoder) ... no
I don't know why this is. Everything should be in the right directories. I compiled lame from source, lame works. The libraries are in /usr/local/lib, which should be where the configure script looks for them. I even symlinked them to /usr/lib just in case. As a last resort, I went into the config.h and config.mak files to "force" the libraries into the compile, but I just get an error when I try to compile (my config.mak syntax may be wrong but let's not get ahead of the game).

Many of the other posts dealing with this issue involve packages, RPMs, yast, and other stuff I have no experience with, so they were of no help to me. Maybe I missed a relevant post, if so please let me know.

Thanks!
 
Old 01-20-2007, 07:54 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
During the ./configure phase of compiling MPlayer, do './configure -h' to see if there is an option to add the path to libmp3lame (something like --libdir= ).

If not, run ./configure, then edit the Makefile before running make. Near the top of the file you will find several variables that you can edit, one of which would be the libdir= variable. Set that to the path to libmp3lame. If MPlayer can't find it on it's own, lead it there by the hand, as it were.
 
Old 01-20-2007, 07:06 PM   #3
woodsy934
LQ Newbie
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Kubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
OK, tried ./configure --libdir=/usr/local/lib as well as configure --with-extralibdir=/usr/local/lib...didn't work.

When I go into the makefile I don't see the libdir variable you're referring to. I do see these lines, however:

Code:
ifeq ($(LAVC_MP3LAME),yes)
CODEC_LIBS += $(MP3LAME_LIB)
endif
...which means, if I'm reading it right, to add the path to the .so file into the list of codec libraries to include when compiling? If I could somehow add the path to libmp3lame.so to that list, would that work?
 
  


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
Mplayer, mencoder and libmp3lame conn-fused Mandriva 7 11-14-2005 08:18 AM
MPlayer Installation->libmp3lame.so.0 error kerryblue19 Linux - Software 11 03-17-2005 08:46 PM
Why does every ./configure script i run fail to recognise XMMS IS INSTALLED!! theMonkeY Linux - Software 4 08-23-2004 10:18 AM
Libmp3lame.so.0 and mplayer arubin Slackware 7 07-11-2004 12:36 PM
Mplayer libmp3lame NewbGhostShells Linux - Software 7 01-16-2004 05:53 AM


All times are GMT -5. The time now is 08:50 PM.

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