WARNING: library configuration mismatch

简介: WARNING: library configuration mismatch

报以下错误:

ffmpeg
ffmpeg version 5.0.3 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 12 (Ubuntu 12.2.0-3ubuntu1)
  configuration: --disable-x86asm --enable-shared --enable-swscale --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-decoder=h264 --enable-protocol=rtmp --enable-demuxer=rtsp --enable-parser=h264 --enable-bsf=extract_extradata --enable-muxer=flv --enable-encoder=h264 --enable-decklink --extra-cflags=-I/home/deviser/temp/old/Black_arm/Linux/include --extra-ldflags=-I/home/deviser/temp/old/Black_arm/Linux/include --prefix=/usr/local
  WARNING: library configuration mismatch
  avutil      configuration: --prefix=/usr --extra-version=1ubuntu2.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-shared
  avcodec     configuration: --prefix=/usr --extra-version=1ubuntu2.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-shared
  avformat    configuration: --prefix=/usr --extra-version=1ubuntu2.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-shared
  avdevice    configuration: --prefix=/usr --extra-version=1ubuntu2.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-shared
  avfilter    configuration: --prefix=/usr --extra-version=1ubuntu2.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-shared
  swscale     configuration: --prefix=/usr --extra-version=1ubuntu2.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-shared
  swresample  configuration: --prefix=/usr --extra-version=1ubuntu2.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-shared
  postproc    configuration: --prefix=/usr --extra-version=1ubuntu2.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-shared
  libavutil      57. 17.100 / 57. 28.100
  libavcodec     59. 18.100 / 59. 37.100
  libavformat    59. 16.100 / 59. 27.100
  libavdevice    59.  4.100 / 59.  7.100
  libavfilter     8. 24.100 /  8. 44.100
  libswscale      6.  4.100 /  6.  7.100
  libswresample   4.  3.100 /  4.  7.100
  libpostproc    56.  3.100 / 56.  6.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'


执行以下命令,看ffmpeg都连接的哪些库,我的ffmpeg编译没有配置路径,因此是默认/usr/local/lib,但此时连接的都是/lib/x86_64-linux-gnu下找库了,因此是连接库出错。

ldd ffmpeg

linux-vdso.so.1 (0x00007ffe66cbf000)
libavdevice.so.59 => /lib/x86_64-linux-gnu/libavdevice.so.59 (0x00007f7918eea000)
libavfilter.so.8 => /lib/x86_64-linux-gnu/libavfilter.so.8 (0x00007f7918200000)
libavformat.so.59 => /lib/x86_64-linux-gnu/libavformat.so.59 (0x00007f7917e00000)
libavcodec.so.59 => /lib/x86_64-linux-gnu/libavcodec.so.59 (0x00007f7916800000)
libpostproc.so.56 => /lib/x86_64-linux-gnu/libpostproc.so.56 (0x00007f7918ec8000)
libswresample.so.4 => /lib/x86_64-linux-gnu/libswresample.so.4 (0x00007f7918ea5000)
libswscale.so.6 => /lib/x86_64-linux-gnu/libswscale.so.6 (0x00007f7918153000)
libavutil.so.57 => /lib/x86_64-linux-gnu/libavutil.so.57 (0x00007f791660e000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7917d17000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7916400000)
libraw1394.so.11 => /lib/x86_64-linux-gnu/libraw1394.so.11 (0x00007f7918e94000)
libavc1394.so.0 => /lib/x86_64-linux-gnu/libavc1394.so.0 (0x00007f7918e8b000)
librom1394.so.0 => /lib/x86_64-linux-gnu/librom1394.so.0 (0x00007f7918e85000)
libiec61883.so.0 => /lib/x86_64-linux-gnu/libiec61883.so.0 (0x00007f7918e77000)
libjack.so.0 => /lib/x86_64-linux-gnu/libjack.so.0 (0x00007f7918e23000)
libdrm.so.2 => /lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f7918e0d000)
libopenal.so.1 => /lib/x86_64-linux-gnu/libopenal.so.1 (0x00007f7917c2f000)
libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f7918129000)
libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f7918e06000)
libxcb-shape.so.0 => /lib/x86_64-linux-gnu/libxcb-shape.so.0 (0x00007f7918e01000)
libxcb-xfixes.so.0 => /lib/x86_64-linux-gnu/libxcb-xfixes.so.0 (0x00007f7918120000)
libcdio_paranoia.so.2 => /lib/x86_64-linux-gnu/libcdio_paranoia.so.2 (0x00007f7918117000)
libcdio_cdda.so.2 => /lib/x86_64-linux-gnu/libcdio_cdda.so.2 (0x00007f791810d000)
libdc1394.so.25 => /lib/x86_64-linux-gnu/libdc1394.so.25 (0x00007f7916388000)
libasound.so.2 => /lib/x86_64-linux-gnu/libasound.so.2 (0x00007f7916283000)
libcaca.so.0 => /lib/x86_64-linux-gnu/libcaca.so.0 (0x00007f79161bb000)
libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f7916134000)
libpulse.so.0 => /lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f79180b8000)
libSDL2-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2-2.0.so.0 (0x00007f7915f75000)
libXv.so.1 => /lib/x86_64-linux-gnu/libXv.so.1 (0x00007f79180b1000)
libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f7915e37000)
libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f7915e22000)
libpocketsphinx.so.3 => /lib/x86_64-linux-gnu/libpocketsphinx.so.3 (0x00007f7915dd9000)
libsphinxbase.so.3 => /lib/x86_64-linux-gnu/libsphinxbase.so.3 (0x00007f7915d97000)
libbs2b.so.0 => /lib/x86_64-linux-gnu/libbs2b.so.0 (0x00007f79180aa000)
liblilv-0.so.0 => /lib/x86_64-linux-gnu/liblilv-0.so.0 (0x00007f7915d7b000)
librubberband.so.2 => /lib/x86_64-linux-gnu/librubberband.so.2 (0x00007f7915d2e000)
libmysofa.so.1 => /lib/x86_64-linux-gnu/libmysofa.so.1 (0x00007f7917c1e000)
libflite_cmu_us_awb.so.1 => /lib/x86_64-linux-gnu/libflite_cmu_us_awb.so.1 (0x00007f7915800000)
libflite_cmu_us_kal.so.1 => /lib/x86_64-linux-gnu/libflite_cmu_us_kal.so.1 (0x00007f791569b000)
libflite_cmu_us_kal16.so.1 => /lib/x86_64-linux-gnu/libflite_cmu_us_kal16.so.1 (0x00007f7915200000)
libflite_cmu_us_rms.so.1 => /lib/x86_64-linux-gnu/libflite_cmu_us_rms.so.1 (0x00007f7914c00000)
libflite_cmu_us_slt.so.1 => /lib/x86_64-linux-gnu/libflite_cmu_us_slt.so.1 (0x00007f7914800000)
libflite.so.1 => /lib/x86_64-linux-gnu/libflite.so.1 (0x00007f7915cf4000)
libfribidi.so.0 => /lib/x86_64-linux-gnu/libfribidi.so.0 (0x00007f7915cd7000)
libplacebo.so.192 => /lib/x86_64-linux-gnu/libplacebo.so.192 (0x00007f7914000000)
libass.so.9 => /lib/x86_64-linux-gnu/libass.so.9 (0x00007f7915ca0000)
libva.so.2 => /usr/local/lib/libva.so.2 (0x00007f7915c70000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f7913c00000)
libvidstab.so.1.1 => /lib/x86_64-linux-gnu/libvidstab.so.1.1 (0x00007f7915c5c000)
libzmq.so.5 => /lib/x86_64-linux-gnu/libzmq.so.5 (0x00007f79155fe000)
libzimg.so.2 => /lib/x86_64-linux-gnu/libzimg.so.2 (0x00007f7915137000)
libOpenCL.so.1 => /lib/x86_64-linux-gnu/libOpenCL.so.1 (0x00007f7915c4a000)
libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f7915c00000)
libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f7913f36000)
libmfx.so.1 => /opt/intel/mediasdk/lib/libmfx.so.1 (0x00007f79155ee000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f791511b000)
libxml2.so.2 => /lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f7913a16000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f79155db000)
libgme.so.0 => /lib/x86_64-linux-gnu/libgme.so.0 (0x00007f79150cb000)
libopenmpt.so.0 => /lib/x86_64-linux-gnu/libopenmpt.so.0 (0x00007f7913859000)
libchromaprint.so.1 => /lib/x86_64-linux-gnu/libchromaprint.so.1 (0x00007f79150bc000)
libbluray.so.2 => /lib/x86_64-linux-gnu/libbluray.so.2 (0x00007f79147a9000)
libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007f7913663000)
librabbitmq.so.4 => /lib/x86_64-linux-gnu/librabbitmq.so.4 (0x00007f79150a3000)
librist.so.4 => /lib/x86_64-linux-gnu/librist.so.4 (0x00007f791477a000)
libsrt-gnutls.so.1.5 => /lib/x86_64-linux-gnu/libsrt-gnutls.so.1.5 (0x00007f7913e72000)
libssh-gcrypt.so.4 => /lib/x86_64-linux-gnu/libssh-gcrypt.so.4 (0x00007f79135d9000)
libvpx.so.7 => /lib/x86_64-linux-gnu/libvpx.so.7 (0x00007f7913200000)
libwebpmux.so.3 => /lib/x86_64-linux-gnu/libwebpmux.so.3 (0x00007f791476d000)
libwebp.so.7 => /lib/x86_64-linux-gnu/libwebp.so.7 (0x00007f791356b000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f7913e47000)
libdav1d.so.6 => /lib/x86_64-linux-gnu/libdav1d.so.6 (0x00007f7913037000)
librsvg-2.so.2 => /lib/x86_64-linux-gnu/librsvg-2.so.2 (0x00007f7912400000)
libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f7913509000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f7912efd000)
libcairo.so.2 => /lib/x86_64-linux-gnu/libcairo.so.2 (0x00007f79122d8000)
libzvbi.so.0 => /lib/x86_64-linux-gnu/libzvbi.so.0 (0x00007f7912249000)
libsnappy.so.1 => /lib/x86_64-linux-gnu/libsnappy.so.1 (0x00007f7914762000)
libaom.so.3 => /lib/x86_64-linux-gnu/libaom.so.3 (0x00007f7911c00000)
libcodec2.so.1.0 => /lib/x86_64-linux-gnu/libcodec2.so.1.0 (0x00007f7910a00000)
libgsm.so.1 => /lib/x86_64-linux-gnu/libgsm.so.1 (0x00007f7914753000)
libmp3lame.so.0 => /lib/x86_64-linux-gnu/libmp3lame.so.0 (0x00007f79121d3000)
libopenjp2.so.7 => /lib/x86_64-linux-gnu/libopenjp2.so.7 (0x00007f7911ba0000)
libopus.so.0 => /lib/x86_64-linux-gnu/libopus.so.0 (0x00007f7911b46000)
libshine.so.3 => /lib/x86_64-linux-gnu/libshine.so.3 (0x00007f7910600000)
libspeex.so.1 => /lib/x86_64-linux-gnu/libspeex.so.1 (0x00007f7912edf000)
libSvtAv1Enc.so.1 => /lib/x86_64-linux-gnu/libSvtAv1Enc.so.1 (0x00007f790fa00000)
libtheoraenc.so.1 => /lib/x86_64-linux-gnu/libtheoraenc.so.1 (0x00007f791219c000)
libtheoradec.so.1 => /lib/x86_64-linux-gnu/libtheoradec.so.1 (0x00007f7913e2a000)
libtwolame.so.0 => /lib/x86_64-linux-gnu/libtwolame.so.0 (0x00007f7911b21000)
libvorbis.so.0 => /lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f7911af4000)
libvorbisenc.so.2 => /lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f7911a49000)
libx264.so.164 => /usr/local/lib/libx264.so.164 (0x00007f790f600000)
libx265.so.199 => /lib/x86_64-linux-gnu/libx265.so.199 (0x00007f790e600000)
libxvidcore.so.4 => /lib/x86_64-linux-gnu/libxvidcore.so.4 (0x00007f79108ed000)
libsoxr.so.0 => /lib/x86_64-linux-gnu/libsoxr.so.0 (0x00007f7910886000)
libva-drm.so.2 => /usr/local/lib/libva-drm.so.2 (0x00007f791509e000)
libva-x11.so.2 => /usr/local/lib/libva-x11.so.2 (0x00007f7914bf8000)
libvdpau.so.1 => /lib/x86_64-linux-gnu/libvdpau.so.1 (0x00007f7913503000)
/lib64/ld-linux-x86-64.so.2 (0x00007f7918f7c000)
libdb-5.3.so => /lib/x86_64-linux-gnu/libdb-5.3.so (0x00007f7910451000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7911a29000)
libsndio.so.7 => /lib/x86_64-linux-gnu/libsndio.so.7 (0x00007f7912ecc000)
libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f7911a23000)
libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f7911a1b000)
libcdio.so.19 => /lib/x86_64-linux-gnu/libcdio.so.19 (0x00007f791085d000)
libusb-1.0.so.0 => /usr/local/lib/libusb-1.0.so.0 (0x00007f791083e000)
libslang.so.2 => /lib/x86_64-linux-gnu/libslang.so.2 (0x00007f790e200000)
libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007f7910417000)
libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f791080c000)
libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f790f949000)
libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f790f917000)
libpulsecommon-16.1.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-16.1.so (0x00007f790f57c000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f790f8c9000)
libXcursor.so.1 => /lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f791040b000)
libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x00007f790f8b5000)
libXfixes.so.3 => /lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f7911a13000)
libXrandr.so.2 => /lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f790f8a8000)
libXss.so.1 => /lib/x86_64-linux-gnu/libXss.so.1 (0x00007f79134fe000)
libgbm.so.1 => /lib/x86_64-linux-gnu/libgbm.so.1 (0x00007f790f56b000)
libwayland-egl.so.1 => /lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007f790f8a3000)
libwayland-client.so.0 => /lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007f790e5ef000)
libwayland-cursor.so.0 => /lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007f790e5e5000)
libxkbcommon.so.0 => /lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f790e1ba000)
libdecor-0.so.0 => /lib/x86_64-linux-gnu/libdecor-0.so.0 (0x00007f790e5db000)
libblas.so.3 => /lib/x86_64-linux-gnu/libblas.so.3 (0x00007f790e114000)
liblapack.so.3 => /lib/x86_64-linux-gnu/liblapack.so.3 (0x00007f790d800000)
libserd-0.so.0 => /lib/x86_64-linux-gnu/libserd-0.so.0 (0x00007f790e5c3000)
libsord-0.so.0 => /lib/x86_64-linux-gnu/libsord-0.so.0 (0x00007f790e5b8000)
libsratom-0.so.0 => /lib/x86_64-linux-gnu/libsratom-0.so.0 (0x00007f790e5ac000)
libflite_usenglish.so.1 => /lib/x86_64-linux-gnu/libflite_usenglish.so.1 (0x00007f790e0ea000)
libflite_cmulex.so.1 => /lib/x86_64-linux-gnu/libflite_cmulex.so.1 (0x00007f790e053000)
liblcms2.so.2 => /lib/x86_64-linux-gnu/liblcms2.so.2 (0x00007f790dff0000)
libvulkan.so.1 => /lib/x86_64-linux-gnu/libvulkan.so.1 (0x00007f790df7e000)
libepoxy.so.0 => /lib/x86_64-linux-gnu/libepoxy.so.0 (0x00007f790d6cb000)
libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f790d5fd000)
libgomp.so.1 => /lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f790d5b3000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f790df66000)
libsodium.so.23 => /lib/x86_64-linux-gnu/libsodium.so.23 (0x00007f790d55b000)
libpgm-5.3.so.0 => /lib/x86_64-linux-gnu/libpgm-5.3.so.0 (0x00007f790d50a000)
libnorm.so.1 => /lib/x86_64-linux-gnu/libnorm.so.1 (0x00007f790d3df000)
libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f790d38b000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f790df3b000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f790d382000)
libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f790d34a000)
libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f790d33c000)
libicuuc.so.71 => /lib/x86_64-linux-gnu/libicuuc.so.71 (0x00007f790d141000)
libmpg123.so.0 => /lib/x86_64-linux-gnu/libmpg123.so.0 (0x00007f790d0e5000)
libvorbisfile.so.3 => /lib/x86_64-linux-gnu/libvorbisfile.so.3 (0x00007f790d0da000)
libudfread.so.0 => /lib/x86_64-linux-gnu/libudfread.so.0 (0x00007f790d0cf000)
libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f790cf92000)
libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f790cf71000)
libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2 (0x00007f790cdc7000)
libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f790cdaf000)
libnettle.so.8 => /lib/x86_64-linux-gnu/libnettle.so.8 (0x00007f790cd5f000)
libhogweed.so.6 => /lib/x86_64-linux-gnu/libhogweed.so.6 (0x00007f790cd17000)
libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f790cc94000)
libssl.so.3 => /lib/x86_64-linux-gnu/libssl.so.3 (0x00007f790cbef000)
libcrypto.so.3 => /lib/x86_64-linux-gnu/libcrypto.so.3 (0x00007f790c600000)
libmbedcrypto.so.7 => /lib/x86_64-linux-gnu/libmbedcrypto.so.7 (0x00007f790cb6d000)
libcjson.so.1 => /lib/x86_64-linux-gnu/libcjson.so.1 (0x00007f790cb63000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f790c4b7000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f790cb3d000)
libcairo-gobject.so.2 => /lib/x86_64-linux-gnu/libcairo-gobject.so.2 (0x00007f790cb31000)
libgdk_pixbuf-2.0.so.0 => /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007f790cb02000)
libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f790c2df000)
libpangocairo-1.0.so.0 => /lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007f790caef000)
libpango-1.0.so.0 => /lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f790ca85000)
libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x00007f790ca78000)
libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007f790c244000)
libpixman-1.so.0 => /lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007f790c198000)
libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f790ca68000)
libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f790ca5b000)
libogg.so.0 => /lib/x86_64-linux-gnu/libogg.so.0 (0x00007f790ca51000)
libnuma.so.1 => /lib/x86_64-linux-gnu/libnuma.so.1 (0x00007f790c18b000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f790c186000)
libsndfile.so.1 => /lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f790c105000)
libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f790c100000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f790c02e000)
libasyncns.so.0 => /lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f790c026000)
libapparmor.so.1 => /lib/x86_64-linux-gnu/libapparmor.so.1 (0x00007f790c011000)
libwayland-server.so.0 => /lib/x86_64-linux-gnu/libwayland-server.so.0 (0x00007f790bff9000)
libgfortran.so.5 => /lib/x86_64-linux-gnu/libgfortran.so.5 (0x00007f790bc00000)
libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f790bfd2000)
libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007f790bfc5000)
libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f790befa000)
libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f790bbd4000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f790bef4000)
libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f790bee7000)
libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f790bbb1000)
libicudata.so.71 => /lib/x86_64-linux-gnu/libicudata.so.71 (0x00007f7909e00000)
libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f790bede000)
libjpeg.so.8 => /lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f790bb30000)
libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f7909dbb000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f7909d8d000)
libpangoft2-1.0.so.0 => /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007f790bb16000)
libthai.so.0 => /lib/x86_64-linux-gnu/libthai.so.0 (0x00007f790bb0b000)
libFLAC.so.8 => /lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f7909d51000)
libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f7909d46000)
libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f7909c97000)
liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f7909c77000)
libquadmath.so.0 => /lib/x86_64-linux-gnu/libquadmath.so.0 (0x00007f7909c2f000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f7909c28000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f7909c15000)
libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f7909bdc000)


把自己的库路径放入这个配置文件,ffmpeg能找到。

sudo vim /etc/ld.so.conf

填入:

/usr/local/lib


然后执行

sudo ldconfig


再次查看,发现连接库路径ok

ldd ffmpeg
linux-vdso.so.1 (0x00007fff5f9f6000)
libavdevice.so.59 => /usr/local/lib/libavdevice.so.59 (0x00007f66d3b01000)
libavfilter.so.8 => /usr/local/lib/libavfilter.so.8 (0x00007f66d3600000)
libavformat.so.59 => /usr/local/lib/libavformat.so.59 (0x00007f66d3200000)
libavcodec.so.59 => /usr/local/lib/libavcodec.so.59 (0x00007f66d2000000)
libpostproc.so.56 => /usr/local/lib/libpostproc.so.56 (0x00007f66d3ae0000)
libswresample.so.4 => /usr/local/lib/libswresample.so.4 (0x00007f66d3ac6000)
libswscale.so.6 => /usr/local/lib/libswscale.so.6 (0x00007f66d3a3e000)
libavutil.so.57 => /usr/local/lib/libavutil.so.57 (0x00007f66d1e63000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f66d3517000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f66d1c00000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f66d1800000)
libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f66d3a12000)
libasound.so.2 => /lib/x86_64-linux-gnu/libasound.so.2 (0x00007f66d1afb000)
libSDL2-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2-2.0.so.0 (0x00007f66d1641000)
libsndio.so.7 => /lib/x86_64-linux-gnu/libsndio.so.7 (0x00007f66d39ff000)
libXv.so.1 => /lib/x86_64-linux-gnu/libXv.so.1 (0x00007f66d39f8000)
libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f66d1503000)
libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f66d3500000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f66d34e0000)
libva.so.2 => /usr/local/lib/libva.so.2 (0x00007f66d34b0000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f66d3494000)
libfdk-aac.so.2 => /lib/x86_64-linux-gnu/libfdk-aac.so.2 (0x00007f66d13d2000)
libva-drm.so.2 => /usr/local/lib/libva-drm.so.2 (0x00007f66d348d000)
libva-x11.so.2 => /usr/local/lib/libva-x11.so.2 (0x00007f66d3485000)
/lib64/ld-linux-x86-64.so.2 (0x00007f66d3b86000)
libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f66d347f000)
libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f66d3477000)
libpulse.so.0 => /lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f66d1e0e000)
libXcursor.so.1 => /lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f66d3469000)
libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x00007f66d31ec000)
libXfixes.so.3 => /lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f66d31e4000)
libXrandr.so.2 => /lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f66d31d7000)
libXss.so.1 => /lib/x86_64-linux-gnu/libXss.so.1 (0x00007f66d31d2000)
libdrm.so.2 => /lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f66d1ae5000)
libgbm.so.1 => /lib/x86_64-linux-gnu/libgbm.so.1 (0x00007f66d1ad4000)
libwayland-egl.so.1 => /lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007f66d31cd000)
libwayland-client.so.0 => /lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007f66d1ac3000)
libwayland-cursor.so.0 => /lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007f66d1ab9000)
libxkbcommon.so.0 => /lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f66d1a73000)
libdecor-0.so.0 => /lib/x86_64-linux-gnu/libdecor-0.so.0 (0x00007f66d1a69000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f66d1a51000)
libpulsecommon-16.1.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-16.1.so (0x00007f66d134e000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f66d1300000)
libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f66d1a44000)
libwayland-server.so.0 => /lib/x86_64-linux-gnu/libwayland-server.so.0 (0x00007f66d1a2e000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f66d12d5000)
libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x00007f66d12c8000)
libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007f66d12bb000)
libsndfile.so.1 => /lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f66d123c000)
libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f66d1e09000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f66d116a000)
libasyncns.so.0 => /lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f66d1162000)
libapparmor.so.1 => /lib/x86_64-linux-gnu/libapparmor.so.1 (0x00007f66d114d000)
libFLAC.so.8 => /lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f66d1111000)
libvorbis.so.0 => /lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f66d10e4000)
libvorbisenc.so.2 => /lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f66d1039000)
libopus.so.0 => /lib/x86_64-linux-gnu/libopus.so.0 (0x00007f66d0fdf000)
libogg.so.0 => /lib/x86_64-linux-gnu/libogg.so.0 (0x00007f66d0fd5000)
libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f66d0fca000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f66d0e81000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f66d0e56000)
libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f66d0da7000)
liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f66d0d87000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f66d0d61000)
相关实践学习
消息队列RocketMQ版:基础消息收发功能体验
本实验场景介绍消息队列RocketMQ版的基础消息收发功能,涵盖实例创建、Topic、Group资源创建以及消息收发体验等基础功能模块。
消息队列 MNS 入门课程
1、消息队列MNS简介 本节课介绍消息队列的MNS的基础概念 2、消息队列MNS特性 本节课介绍消息队列的MNS的主要特性 3、MNS的最佳实践及场景应用 本节课介绍消息队列的MNS的最佳实践及场景应用案例 4、手把手系列:消息队列MNS实操讲 本节课介绍消息队列的MNS的实际操作演示 5、动手实验:基于MNS,0基础轻松构建 Web Client 本节课带您一起基于MNS,0基础轻松构建 Web Client
相关文章
|
6月前
|
Kubernetes 容器
error: no configuration has been provided, try setting KUBERNET
error: no configuration has been provided, try setting KUBERNET
63 0
|
3月前
|
Web App开发 Java 网络安全
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
371 0
|
5月前
|
Python
【已解决】WARNING: Ignoring invalid distribution xxx
【已解决】WARNING: Ignoring invalid distribution xxx
|
11月前
Error: Plugin/Preset files are not allowed to export objects, only functions……
Error: Plugin/Preset files are not allowed to export objects, only functions……
|
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)
No matching configuration of project :libusb was found.
No matching configuration of project :libusb was found.
606 0
libvpx enabled but no supported decoders found
libvpx enabled but no supported decoders found
179 0
|
Java
编译OpenJDK:invalid configuration Files: machine Files not recognized
编译OpenJDK:invalid configuration Files: machine Files not recognized
109 0
|
网络协议 关系型数据库 Linux
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
181 0
|
C语言