[MPlayer-users] mencoder+lame=problem
Mugurel Tudor
mugurelu at go.ro
Thu May 2 13:48:01 CEST 2002
It seems that I have a problem with mplayer+lame.
I've compiled lame with the following options:
./configure --prefix=/opt/lame-3.92 --enable-vorbis
After that I've put /opt/lame-3.92/lib in /etc/ld.so.conf and run
ldconfig,
and I also symlinked /opt/lame-3.92/include/lame in /usr/include.
Lame works fine, so I've tried to compile mplayer like that :
./configure --prefix=/opt/mplayer-0.90pre2
and he complains about the libmp3lame (for mencoder)!!!
Why he is not founding that lame lib?
Configure.log say something like :
#include <lame/lame.h>
int main(void) { (void) lame_init(); return 0; }
gcc3 /tmp/mplayer-conf-16758-10530.c -o
/tmp/mplayer-conf-27620-10530.o -lmp3lame -lvorbis -logg -lm
/usr/bin/ld: cannot find -lmp3lame
collect2: ld returned 1 exit status
ldd /tmp/mplayer-conf-27620-10530.o
ldd: /tmp/mplayer-conf-27620-10530.o: No such file or directory
In lame.h lame_init is declared like this:
lame_global_flags * CDECL lame_init(void);
I am not really a programer but I can see why is not working. In
lame-3.70 that function
was declared in diferent way, but I have errors with that too. So what
is the
correct version of lame that I should use ? Or what am I doing wrong ?
Please help, I realy need that mencoder with lame suport.
P.S. - I am using gcc-3.0.2 on a redhat 7.2
More information about the MPlayer-users
mailing list