ERROR: libx264 not found

简介: ERROR: libx264 not found

嗯?吾明明编译了啊。怎么回事?有两种可能:

  • 在编译264的时候,configure没有加参数。正确写法:
./configure \
    --prefix=${DEST_LIB_DIR} \
    --enable-shared
  • 在编译ffmpeg的时候,需要指明libx264.so所在目录。

具体是这样指定的(注意:--extra-ldflags只能有一个)

BUILD_LIBS=${HOME}/build_libs
./configure \
    --prefix="${BUILD_LIBS}" \
    --extra-cflags="-I${BUILD_LIBS}/include" \
    --extra-ldflags="-L${BUILD_LIBS}/lib" \
    --bindir="${BUILD_LIBS}/bin"

这里只列出相关参数。

目录
相关文章
libtool: Version mismatch error 解决
libtool: Version mismatch error 解决
747 0
configure: error: Could not find cups!
configure: error: Could not find cups!
482 0
|
Python
ERROR: Failed building wheel for osgeo
ERROR: Failed building wheel for osgeo
379 0
|
Java Linux
error: Failed dependencies: libjvm.so()(64bit) is needed by (installed)
error: Failed dependencies: libjvm.so()(64bit) is needed by (installed)
error: Failed dependencies: libjvm.so()(64bit) is needed by (installed)
ERROR: libx264 not found
ERROR: libx264 not found
172 0
configure: error: libacl not found
configure: error: libacl not found
82 0
configure: error: cups-config not found
configure: error: cups-config not found
102 0
configure: error: gperf is needed
configure: error: gperf is needed
122 0
libtool: Version mismatch error
libtool: Version mismatch error
107 0
configure:13747: error: You requested FFmpeg (h264, h263, theora, mp4v-es) but not found...die
configure:13747: error: You requested FFmpeg (h264, h263, theora, mp4v-es) but not found...die
98 0

热门文章

最新文章