[MPlayer-users] Config problem with Lame

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Sat Sep 11 17:54:51 CEST 2004


On Saturday, 11 September 2004 at 17:37, raen7 at ihug.com.au wrote:
> 
> 
> I have RTFM and searched User List archive and I am not sure what
> the solution
> is in my case to fix lame compiling. I am running
> MPlayer 1.0pre2-3.3 (C) 2000-2003 MPlayer Team
> SuSE 8.2 kernel 2.4.20
> LAME version 3.95 (from lame-3.95.1.tar.gz)
> gcc 3.3
> 
> This is the Libmp3lame output from config.log
> 
> ============ Checking for libmp3lame (for mencoder) ============
> 
> #include <lame/lame.h>
> int main(void) { lame_version_t lv; (void) lame_init();
> get_lame_version_numeric
> al(&lv);  printf("%d%d\n",lv.major,lv.minor); return 0; }
> 
> gcc     /tmp/mplayer-conf-2406-24374.c -o /tmp/mplayer-conf-17648-24374.o
> -lmp3l
> ame -lvorbis -logg -lm
> /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld:
> cannot
> find -lvorbis
> collect2: ld returned 1 exit status
> 
> ldd /tmp/mplayer-conf-17648-24374.o
> ldd: /tmp/mplayer-conf-17648-24374.o: No such file or directory
> 
> Result is: no

Show your configure commandline. Do you have --enable-vorbis there?
If I do ./configure --enable-vorbis, I get the same (except that
I do have libvorbis installed, so it works).

But if I do ./configure --disable-vorbis, this is what I get:
============ Checking for libmp3lame (for mencoder) ============

#include <lame/lame.h>
int main(void) { lame_version_t lv; (void) lame_init(); get_lame_version_numerical(&lv);  printf("%d
gcc3     /tmp/mplayer-conf-10046-27139.c -o /tmp/mplayer-conf-11114-27139.o -lmp3lame -lm

ldd /tmp/mplayer-conf-11114-27139.o
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x40023000)
        libm.so.6 => /lib/i686/libm.so.6 (0x400b7000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

396
Result is: yes
##########################################

And so should you.

R.

-- 
MPlayer RPMs maintainer: http://greysector.rangers.eu.org/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"




More information about the MPlayer-users mailing list