开发者

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

开发者 https://www.devze.com 2023-02-13 02:35 出处:网络
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

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

精彩评论

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