Hi guys,
I try to compile from source mp3lame, x264, ffmpeg & VLC. I got troube tryin to make vlc, it seems it keeps looking for mp3lame in current dir instead of appropriate one, I cant find the right set of options. Here are my compile lines. If anyone got a clue, well, thx a lot.
LIBMP3LAME
./configure --prefix=/usr/local/lame --enable-shared
make
make install
X264
./configure --prefix=/usr/local/x264 --enable-shared
make
make install
FFMPEG
./configure --prefix=/usr/local/ffmpeg --enable-postproc --enable-gpl --enable-libmp3lame --enable-libx264 --enable-shared --extra-cflags=-I/usr/local/lame/include --extra-ldflags=-L/usr/local/lame/lib --extra-cflags=-I/usr/local/x264/include --extra-ldflags=-L/usr/local/x264/lib
make
make install
VLC
export PKG_CONFIG_PATH="/usr/local/src/ffmpeg/libpostproc:/usr/local/src/ffmpeg/libavformat:/usr/local/src/ffmpeg/libavcodec:/usr/local/src/ffmpeg/libavutil:/usr/local/src/ffmpeg/libswscale:/usr/local/src/ffmpeg/libavdevice"
./configure --prefix=/usr/local/vlc --disable-x11 --disable-glx --disable-xcb --disable-xcb --disable-xvideo --disable-opengl --disable-skins2
make
Here is the error when I make VLC :
/usr/bin/ld: cannot find -lmp3lame
collect2: ld returned 1 exit status
make[6]: *** [libavcodec_plugin.la] Error 1
make[6]: Leaving directory `/usr/local/src/vlc-1.0.2/modules/codec/avcodec'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/usr/local/src/vlc-1.0.2/modules/codec/avcodec'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/local/src/vlc-1.0.2/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/src/vlc-1.0.2/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/vlc-1.0.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vlc-1.0.2'
make: *** [all] Error 2