开发者

redhat - compile ffmpeg - how to link with liblame/x264 when they're installed locally

I've managed to install ffmpeg, a basic build using

./configure --disable-debug --disable-network --disable-ffserver --disable-ffplay --prefix=/export/home/userid/bin/ffmpeg

Now I've 开发者_运维技巧installed liblame and x264 to /export/home/userid/bin and tried to compile ffmpeg as follows:

./configure --disable-debug --disable-network --disable-ffserver --disable-ffplay --prefix=/export/home/userid/bin/ffmpeg --enable-libmp3lame  --enable-libx264 --enable-gpl

And I get the error

ERROR: libmp3lame not found

How can I tell configure to look for things in /export/home/bin?

Thanks


Solved.

compile using --enable-cflags and --extra-ldflags

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜