[MPlayer-users] Config problem with Lame
raen7 at ihug.com.au
raen7 at ihug.com.au
Mon Sep 13 07:55:41 CEST 2004
>> 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.
My command line was no argument at all for vorbis. As per your advice I did
this again and configured with --disable-vorbis and result for libmp3lame is
now, Yes.
I assume that if I ever want to use vorbis that I have to re-compile yes?.
Thanks
R.
More information about the MPlayer-users
mailing list