当前位置:   article > 正文

undefined symbol: avio_protocol_get_class, version LIBAVFORMAT_58

undefined symbol: avio_protocol_get_class, version LIBAVFORMAT_58

rv1126上进行编译和在虚拟机里面进行交叉编译ffmpeg都不行

解决办法查看

查看安装的ffmpeg链接的文件

ldd ./ffmpeg
  1. root@EASY-EAI-NANO:/home/nano/ffmpeg-4.3.6# ldd ffmpeg
  2. linux-vdso.so.1 (0xaeebd000)
  3. libavdevice.so.58 => /lib/arm-linux-gnueabihf/libavdevice.so.58 (0xa6f1c000)
  4. libavfilter.so.7 => /lib/arm-linux-gnueabihf/libavfilter.so.7 (0xa6cdb000)
  5. libavformat.so.58 => /lib/arm-linux-gnueabihf/libavformat.so.58 (0xa6b19000)
  6. libavcodec.so.58 => /lib/arm-linux-gnueabihf/libavcodec.so.58 (0xa59dc000)
  7. libswresample.so.3 => /lib/arm-linux-gnueabihf/libswresample.so.3 (0xa59b9000)
  8. libswscale.so.5 => /lib/arm-linux-gnueabihf/libswscale.so.5 (0xa5954000)
  9. libavutil.so.56 => /lib/arm-linux-gnueabihf/libavutil.so.56 (0xa5847000)
  10. libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xa57de000)
  11. libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xa57b8000)
  12. libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xa56b9000)
  13. /lib/ld-linux-armhf.so.3 (0xa6fa4000)
  14. libraw1394.so.11 => /lib/arm-linux-gnueabihf/libraw1394.so.11 (0xa56a0000)
  15. libavc1394.so.0 => /lib/arm-linux-gnueabihf/libavc1394.so.0 (0xa568c000)
  16. librom1394.so.0 => /lib/arm-linux-gnueabihf/librom1394.so.0 (0xa5679000)
  17. libiec61883.so.0 => /lib/arm-linux-gnueabihf/libiec61883.so.0 (0xa5660000)
  18. libjack.so.0 => /lib/arm-linux-gnueabihf/libjack.so.0 (0xa5622000)
  19. libdrm.so.2 => /lib/arm-linux-gnueabihf/libdrm.so.2 (0xa5605000)
  20. libopenal.so.1 => /lib/arm-linux-gnueabihf/libopenal.so.1 (0xa5536000)
  21. libxcb.so.1 => /lib/arm-linux-gnueabihf/libxcb.so.1 (0xa550d000)
  22. libxcb-shm.so.0 => /lib/arm-linux-gnueabihf/libxcb-shm.so.0 (0xa54fa000)
  23. libxcb-shape.so.0 => /lib/arm-linux-gnueabihf/libxcb-shape.so.0 (0xa54e7000)
  24. libxcb-xfixes.so.0 => /lib/arm-linux-gnueabihf/libxcb-xfixes.so.0 (0xa54d1000)
  25. libcdio_paranoia.so.2 => /lib/arm-linux-gnueabihf/libcdio_paranoia.so.2 (0xa54bc000)
  26. libcdio_cdda.so.2 => /lib/arm-linux-gnueabihf/libcdio_cdda.so.2 (0xa54a6000)
  27. libdc1394.so.22 => /lib/arm-linux-gnueabihf/libdc1394.so.22 (0xa542f000)
  28. libasound.so.2 => /lib/arm-linux-gnueabihf/libasound.so.2 (0xa5386000)
  29. libcaca.so.0 => /lib/arm-linux-gnueabihf/libcaca.so.0 (0xa52ba000)
  30. libGL.so.1 => /lib/arm-linux-gnueabihf/libGL.so.1 (0xa51f5000)
  31. libpulse.so.0 => /lib/arm-linux-gnueabihf/libpulse.so.0 (0xa51af000)
  32. libSDL2-2.0.so.0 => /lib/arm-linux-gnueabihf/libSDL2-2.0.so.0 (0xa50d2000)
  33. libsndio.so.7.0 => /lib/arm-linux-gnueabihf/libsndio.so.7.0 (0xa50b6000)
  34. libXv.so.1 => /lib/arm-linux-gnueabihf/libXv.so.1 (0xa50a2000)
  35. libX11.so.6 => /lib/arm-linux-gnueabihf/libX11.so.6 (0xa4faf000)
  36. libXext.so.6 => /lib/arm-linux-gnueabihf/libXext.so.6 (0xa4f94000)
  37. libpostproc.so.55 => /lib/arm-linux-gnueabihf/libpostproc.so.55 (0xa4f7b000)
  38. libbs2b.so.0 => /lib/arm-linux-gnueabihf/libbs2b.so.0 (0xa4f67000)
  39. liblilv-0.so.0 => /lib/arm-linux-gnueabihf/liblilv-0.so.0 (0xa4f48000)
  40. libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xa4f35000)
  41. librubberband.so.2 => /lib/arm-linux-gnueabihf/librubberband.so.2 (0xa4eff000)
  42. libmysofa.so.1 => /lib/arm-linux-gnueabihf/libmysofa.so.1 (0xa4ee5000)
  43. libflite_cmu_us_awb.so.1 => /lib/arm-linux-gnueabihf/libflite_cmu_us_awb.so.1 (0xa4c28000)
  44. libflite_cmu_us_kal.so.1 => /lib/arm-linux-gnueabihf/libflite_cmu_us_kal.so.1 (0xa4abe000)
  45. libflite_cmu_us_kal16.so.1 => /lib/arm-linux-gnueabihf/libflite_cmu_us_kal16.so.1 (0xa46e0000)
  46. libflite_cmu_us_rms.so.1 => /lib/arm-linux-gnueabihf/libflite_cmu_us_rms.so.1 (0xa43b0000)
  47. libflite_cmu_us_slt.so.1 => /lib/arm-linux-gnueabihf/libflite_cmu_us_slt.so.1 (0xa40f2000)
  48. libflite.so.1 => /lib/arm-linux-gnueabihf/libflite.so.1 (0xa40c0000)
  49. libfribidi.so.0 => /lib/arm-linux-gnueabihf/libfribidi.so.0 (0xa4097000)
  50. libass.so.9 => /lib/arm-linux-gnueabihf/libass.so.9 (0xa406a000)
  51. libva.so.2 => /lib/arm-linux-gnueabihf/libva.so.2 (0xa403d000)
  52. libvidstab.so.1.1 => /lib/arm-linux-gnueabihf/libvidstab.so.1.1 (0xa4021000)
  53. libzmq.so.5 => /lib/arm-linux-gnueabihf/libzmq.so.5 (0xa3fb6000)
  54. libOpenCL.so.1 => /usr/lib/libOpenCL.so.1 (0xa3f49000)
  55. libfontconfig.so.1 => /lib/arm-linux-gnueabihf/libfontconfig.so.1 (0xa3f0c000)
  56. libfreetype.so.6 => /lib/arm-linux-gnueabihf/libfreetype.so.6 (0xa3e8c000)
  57. libxml2.so.2 => /lib/arm-linux-gnueabihf/libxml2.so.2 (0xa3d72000)
  58. libbz2.so.1.0 => /lib/arm-linux-gnueabihf/libbz2.so.1.0 (0xa3d56000)
  59. libgme.so.0 => /lib/arm-linux-gnueabihf/libgme.so.0 (0xa3d18000)
  60. libopenmpt.so.0 => /lib/arm-linux-gnueabihf/libopenmpt.so.0 (0xa3bb9000)
  61. libchromaprint.so.1 => /lib/arm-linux-gnueabihf/libchromaprint.so.1 (0xa3b9c000)
  62. libbluray.so.2 => /lib/arm-linux-gnueabihf/libbluray.so.2 (0xa3b57000)
  63. libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0xa3b34000)
  64. libgnutls.so.30 => /lib/arm-linux-gnueabihf/libgnutls.so.30 (0xa39dd000)
  65. libssh-gcrypt.so.4 => /lib/arm-linux-gnueabihf/libssh-gcrypt.so.4 (0xa396b000)
  66. libvpx.so.6 => /lib/arm-linux-gnueabihf/vfp/neon/libvpx.so.6 (0xa37ef000)
  67. libwebpmux.so.3 => /lib/arm-linux-gnueabihf/libwebpmux.so.3 (0xa37d9000)
  68. libwebp.so.6 => /lib/arm-linux-gnueabihf/libwebp.so.6 (0xa378a000)
  69. liblzma.so.5 => /lib/arm-linux-gnueabihf/liblzma.so.5 (0xa3760000)
  70. librsvg-2.so.2 => /lib/arm-linux-gnueabihf/librsvg-2.so.2 (0xa3063000)
  71. libgobject-2.0.so.0 => /lib/arm-linux-gnueabihf/libgobject-2.0.so.0 (0xa3012000)
  72. libglib-2.0.so.0 => /lib/arm-linux-gnueabihf/libglib-2.0.so.0 (0xa2f29000)
  73. libcairo.so.2 => /lib/arm-linux-gnueabihf/libcairo.so.2 (0xa2e6c000)
  74. libzvbi.so.0 => /lib/arm-linux-gnueabihf/libzvbi.so.0 (0xa2dff000)
  75. libsnappy.so.1 => /lib/arm-linux-gnueabihf/libsnappy.so.1 (0xa2de9000)
  76. libaom.so.0 => /lib/arm-linux-gnueabihf/libaom.so.0 (0xa2b52000)
  77. libcodec2.so.0.9 => /lib/arm-linux-gnueabihf/libcodec2.so.0.9 (0xa1d7f000)
  78. libgsm.so.1 => /lib/arm-linux-gnueabihf/libgsm.so.1 (0xa1d67000)
  79. libmp3lame.so.0 => /lib/arm-linux-gnueabihf/libmp3lame.so.0 (0xa1cf8000)
  80. libopenjp2.so.7 => /lib/arm-linux-gnueabihf/libopenjp2.so.7 (0xa1caf000)
  81. libopus.so.0 => /lib/arm-linux-gnueabihf/libopus.so.0 (0xa1c5e000)
  82. libshine.so.3 => /lib/arm-linux-gnueabihf/libshine.so.3 (0xa1c45000)
  83. libspeex.so.1 => /lib/arm-linux-gnueabihf/libspeex.so.1 (0xa1c24000)
  84. libtheoraenc.so.1 => /lib/arm-linux-gnueabihf/libtheoraenc.so.1 (0xa1bea000)
  85. libtheoradec.so.1 => /lib/arm-linux-gnueabihf/libtheoradec.so.1 (0xa1bc8000)
  86. libtwolame.so.0 => /lib/arm-linux-gnueabihf/libtwolame.so.0 (0xa1b9a000)
  87. libvorbis.so.0 => /lib/arm-linux-gnueabihf/libvorbis.so.0 (0xa1b69000)
  88. libvorbisenc.so.2 => /lib/arm-linux-gnueabihf/libvorbisenc.so.2 (0xa1ad7000)
  89. libwavpack.so.1 => /lib/arm-linux-gnueabihf/libwavpack.so.1 (0xa1aa9000)
  90. libx264.so.155 => /lib/arm-linux-gnueabihf/libx264.so.155 (0xa189e000)
  91. libx265.so.179 => /lib/arm-linux-gnueabihf/libx265.so.179 (0xa1672000)
  92. libxvidcore.so.4 => /lib/arm-linux-gnueabihf/libxvidcore.so.4 (0xa159f000)
  93. libsoxr.so.0 => /lib/arm-linux-gnueabihf/libsoxr.so.0 (0xa153b000)
  94. libva-drm.so.2 => /lib/arm-linux-gnueabihf/libva-drm.so.2 (0xa1529000)
  95. libva-x11.so.2 => /lib/arm-linux-gnueabihf/libva-x11.so.2 (0xa1515000)
  96. libvdpau.so.1 => /lib/arm-linux-gnueabihf/libvdpau.so.1 (0xa1502000)
  97. librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xa14ec000)
  98. libstdc++.so.6 => /lib/arm-linux-gnueabihf/libstdc++.so.6 (0xa13a3000)
  99. libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xa1378000)
  100. libXau.so.6 => /lib/arm-linux-gnueabihf/libXau.so.6 (0xa1365000)
  101. libXdmcp.so.6 => /lib/arm-linux-gnueabihf/libXdmcp.so.6 (0xa1351000)
  102. libcdio.so.18 => /lib/arm-linux-gnueabihf/libcdio.so.18 (0xa1326000)
  103. libusb-1.0.so.0 => /lib/arm-linux-gnueabihf/libusb-1.0.so.0 (0xa1304000)
  104. libslang.so.2 => /lib/arm-linux-gnueabihf/libslang.so.2 (0xa1144000)
  105. libncursesw.so.6 => /lib/arm-linux-gnueabihf/libncursesw.so.6 (0xa1112000)
  106. libtinfo.so.6 => /lib/arm-linux-gnueabihf/libtinfo.so.6 (0xa10e4000)
  107. libGLdispatch.so.0 => /lib/arm-linux-gnueabihf/libGLdispatch.so.0 (0xa0fad000)
  108. libGLX.so.0 => /lib/arm-linux-gnueabihf/libGLX.so.0 (0xa0f4a000)
  109. libpulsecommon-13.99.so => /usr/lib/arm-linux-gnueabihf/pulseaudio/libpulsecommon-13.99.so (0xa0ee3000)
  110. libdbus-1.so.3 => /lib/arm-linux-gnueabihf/libdbus-1.so.3 (0xa0ea3000)
  111. libXcursor.so.1 => /lib/arm-linux-gnueabihf/libXcursor.so.1 (0xa0e8c000)
  112. libXinerama.so.1 => /lib/arm-linux-gnueabihf/libXinerama.so.1 (0xa0e7a000)
  113. libXi.so.6 => /lib/arm-linux-gnueabihf/libXi.so.6 (0xa0e60000)
  114. libXrandr.so.2 => /lib/arm-linux-gnueabihf/libXrandr.so.2 (0xa0e49000)
  115. libXss.so.1 => /lib/arm-linux-gnueabihf/libXss.so.1 (0xa0e36000)
  116. libXxf86vm.so.1 => /lib/arm-linux-gnueabihf/libXxf86vm.so.1 (0xa0e22000)
  117. libwayland-egl.so.1 => /lib/arm-linux-gnueabihf/libwayland-egl.so.1 (0xa0e10000)
  118. libwayland-client.so.0 => /lib/arm-linux-gnueabihf/libwayland-client.so.0 (0xa0df7000)
  119. libwayland-cursor.so.0 => /lib/arm-linux-gnueabihf/libwayland-cursor.so.0 (0xa0de0000)
  120. libxkbcommon.so.0 => /lib/arm-linux-gnueabihf/libxkbcommon.so.0 (0xa0d9e000)
  121. libbsd.so.0 => /lib/arm-linux-gnueabihf/libbsd.so.0 (0xa0d7b000)
  122. libserd-0.so.0 => /lib/arm-linux-gnueabihf/libserd-0.so.0 (0xa0d58000)
  123. libsord-0.so.0 => /lib/arm-linux-gnueabihf/libsord-0.so.0 (0xa0d42000)
  124. libsratom-0.so.0 => /lib/arm-linux-gnueabihf/libsratom-0.so.0 (0xa0d2b000)
  125. libsamplerate.so.0 => /lib/arm-linux-gnueabihf/libsamplerate.so.0 (0xa0bb1000)
  126. libfftw3.so.3 => /lib/arm-linux-gnueabihf/libfftw3.so.3 (0xa0ad6000)
  127. libflite_usenglish.so.1 => /lib/arm-linux-gnueabihf/libflite_usenglish.so.1 (0xa0ab0000)
  128. libflite_cmulex.so.1 => /lib/arm-linux-gnueabihf/libflite_cmulex.so.1 (0xa0a10000)
  129. libharfbuzz.so.0 => /lib/arm-linux-gnueabihf/libharfbuzz.so.0 (0xa094e000)
  130. libgomp.so.1 => /lib/arm-linux-gnueabihf/libgomp.so.1 (0xa0915000)
  131. libsodium.so.23 => /lib/arm-linux-gnueabihf/libsodium.so.23 (0xa08cf000)
  132. libpgm-5.2.so.0 => /lib/arm-linux-gnueabihf/libpgm-5.2.so.0 (0xa087f000)
  133. libnorm.so.1 => /lib/arm-linux-gnueabihf/libnorm.so.1 (0xa0753000)
  134. libgssapi_krb5.so.2 => /lib/arm-linux-gnueabihf/libgssapi_krb5.so.2 (0xa0718000)
  135. libGAL.so => /usr/lib/libGAL.so (0xa0578000)
  136. libVSC.so => /usr/lib/libVSC.so (0x9f6e9000)
  137. libCLC.so => /usr/lib/libCLC.so (0x9f524000)
  138. libexpat.so.1 => /lib/arm-linux-gnueabihf/libexpat.so.1 (0x9f4fb000)
  139. libuuid.so.1 => /lib/arm-linux-gnueabihf/libuuid.so.1 (0x9f4e5000)
  140. libpng16.so.16 => /lib/arm-linux-gnueabihf/libpng16.so.16 (0x9f4b1000)
  141. libicuuc.so.66 => /lib/arm-linux-gnueabihf/libicuuc.so.66 (0x9f362000)
  142. libmpg123.so.0 => /lib/arm-linux-gnueabihf/libmpg123.so.0 (0x9f310000)
  143. libvorbisfile.so.3 => /lib/arm-linux-gnueabihf/libvorbisfile.so.3 (0x9f2f9000)
  144. libp11-kit.so.0 => /lib/arm-linux-gnueabihf/libp11-kit.so.0 (0x9f234000)
  145. libidn2.so.0 => /lib/arm-linux-gnueabihf/libidn2.so.0 (0x9f209000)
  146. libunistring.so.2 => /lib/arm-linux-gnueabihf/libunistring.so.2 (0x9f09d000)
  147. libtasn1.so.6 => /lib/arm-linux-gnueabihf/libtasn1.so.6 (0x9f080000)
  148. libnettle.so.7 => /lib/arm-linux-gnueabihf/libnettle.so.7 (0x9f044000)
  149. libhogweed.so.5 => /lib/arm-linux-gnueabihf/libhogweed.so.5 (0x9f00b000)
  150. libgmp.so.10 => /lib/arm-linux-gnueabihf/libgmp.so.10 (0x9efab000)
  151. libgcrypt.so.20 => /lib/arm-linux-gnueabihf/libgcrypt.so.20 (0x9eef8000)
  152. libgpg-error.so.0 => /lib/arm-linux-gnueabihf/libgpg-error.so.0 (0x9eed3000)
  153. libcairo-gobject.so.2 => /lib/arm-linux-gnueabihf/libcairo-gobject.so.2 (0x9eebd000)
  154. libgdk_pixbuf-2.0.so.0 => /lib/arm-linux-gnueabihf/libgdk_pixbuf-2.0.so.0 (0x9ee92000)
  155. libgio-2.0.so.0 => /lib/arm-linux-gnueabihf/libgio-2.0.so.0 (0x9ed62000)
  156. libpangocairo-1.0.so.0 => /lib/arm-linux-gnueabihf/libpangocairo-1.0.so.0 (0x9ed48000)
  157. libpango-1.0.so.0 => /lib/arm-linux-gnueabihf/libpango-1.0.so.0 (0x9ed05000)
  158. libffi.so.7 => /lib/arm-linux-gnueabihf/libffi.so.7 (0x9ecef000)
  159. libpcre.so.3 => /lib/arm-linux-gnueabihf/libpcre.so.3 (0x9ec91000)
  160. libpixman-1.so.0 => /lib/arm-linux-gnueabihf/libpixman-1.so.0 (0x9ec06000)
  161. libxcb-render.so.0 => /lib/arm-linux-gnueabihf/libxcb-render.so.0 (0x9ebed000)
  162. libXrender.so.1 => /lib/arm-linux-gnueabihf/libXrender.so.1 (0x9ebd6000)
  163. libogg.so.0 => /lib/arm-linux-gnueabihf/libogg.so.0 (0x9ebbf000)
  164. libXfixes.so.3 => /lib/arm-linux-gnueabihf/libXfixes.so.3 (0x9ebab000)
  165. libudev.so.1 => /lib/arm-linux-gnueabihf/libudev.so.1 (0x9eb7f000)
  166. libsystemd.so.0 => /lib/arm-linux-gnueabihf/libsystemd.so.0 (0x9eafa000)
  167. libwrap.so.0 => /lib/arm-linux-gnueabihf/libwrap.so.0 (0x9eae3000)
  168. libsndfile.so.1 => /lib/arm-linux-gnueabihf/libsndfile.so.1 (0x9ea7b000)
  169. libasyncns.so.0 => /lib/arm-linux-gnueabihf/libasyncns.so.0 (0x9ea66000)
  170. libapparmor.so.1 => /lib/arm-linux-gnueabihf/libapparmor.so.1 (0x9ea49000)
  171. libgraphite2.so.3 => /lib/arm-linux-gnueabihf/libgraphite2.so.3 (0x9ea1f000)
  172. libkrb5.so.3 => /lib/arm-linux-gnueabihf/libkrb5.so.3 (0x9e984000)
  173. libk5crypto.so.3 => /lib/arm-linux-gnueabihf/libk5crypto.so.3 (0x9e950000)
  174. libcom_err.so.2 => /lib/arm-linux-gnueabihf/libcom_err.so.2 (0x9e93d000)
  175. libkrb5support.so.0 => /lib/arm-linux-gnueabihf/libkrb5support.so.0 (0x9e925000)
  176. libicudata.so.66 => /lib/arm-linux-gnueabihf/libicudata.so.66 (0x9ce57000)
  177. libgmodule-2.0.so.0 => /lib/arm-linux-gnueabihf/libgmodule-2.0.so.0 (0x9ce42000)
  178. libmount.so.1 => /lib/arm-linux-gnueabihf/libmount.so.1 (0x9cdf4000)
  179. libselinux.so.1 => /lib/arm-linux-gnueabihf/libselinux.so.1 (0x9cdca000)
  180. libresolv.so.2 => /lib/arm-linux-gnueabihf/libresolv.so.2 (0x9cdaa000)
  181. libpangoft2-1.0.so.0 => /lib/arm-linux-gnueabihf/libpangoft2-1.0.so.0 (0x9cd8c000)
  182. libthai.so.0 => /lib/arm-linux-gnueabihf/libthai.so.0 (0x9cd75000)
  183. liblz4.so.1 => /lib/arm-linux-gnueabihf/liblz4.so.1 (0x9cd4f000)
  184. libnsl.so.1 => /lib/arm-linux-gnueabihf/libnsl.so.1 (0x9cd2f000)
  185. libFLAC.so.8 => /lib/arm-linux-gnueabihf/libFLAC.so.8 (0x9ccfd000)
  186. libkeyutils.so.1 => /lib/arm-linux-gnueabihf/libkeyutils.so.1 (0x9cce8000)
  187. libblkid.so.1 => /lib/arm-linux-gnueabihf/libblkid.so.1 (0x9cca2000)
  188. libpcre2-8.so.0 => /lib/arm-linux-gnueabihf/libpcre2-8.so.0 (0x9cc2f000)
  189. libdatrie.so.1 => /lib/arm-linux-gnueabihf/libdatrie.so.1 (0x9cc1b000)

 查看

发现链接的是编译器下面的,可能版本不是ffmpeg源码的版本,查看本机器有多少个这个

find / -name "libavformat*" 

  1. find / -name "libavformat*"
  2. /var/lib/dpkg/info/libavformat58:armhf.triggers
  3. /var/lib/dpkg/info/libavformat58:armhf.list
  4. /var/lib/dpkg/info/libavformat-dev:armhf.list
  5. /var/lib/dpkg/info/libavformat-dev:armhf.md5sums
  6. /var/lib/dpkg/info/libavformat58:armhf.md5sums
  7. /var/lib/dpkg/info/libavformat58:armhf.shlibs
  8. /var/lib/dpkg/info/libavformat58:armhf.symbols
  9. find: '/proc/969': No such file or directory
  10. /home/nano/ffmpeg-4.3.6/doc/libavformat.3
  11. /home/nano/ffmpeg-4.3.6/doc/examples/pc-uninstalled/libavformat-uninstalled.pc
  12. /home/nano/ffmpeg-4.3.6/doc/libavformat.pod.d
  13. /home/nano/ffmpeg-4.3.6/doc/libavformat.texi
  14. /home/nano/ffmpeg-4.3.6/doc/libavformat.pod
  15. /home/nano/ffmpeg-4.3.6/tests/fate/libavformat.mak
  16. /home/nano/ffmpeg-4.3.6/libavformat
  17. /home/nano/ffmpeg-4.3.6/libavformat/libavformat.so.58
  18. /home/nano/ffmpeg-4.3.6/libavformat/libavformat.pc
  19. /home/nano/ffmpeg-4.3.6/libavformat/libavformat.so
  20. /home/nano/ffmpeg-4.3.6/libavformat/libavformat.v
  21. /home/nano/ffmpeg-4.3.6/libavformat/libavformat.version
  22. /home/nano/ffmpeg-4.3.6/libavformat/libavformat.ver
  23. /home/nano/ffmpeg-4.3.6/libavformat/libavformat.a
  24. /usr/share/doc/libavformat-dev
  25. /usr/share/doc/libavformat58
  26. /usr/share/lintian/overrides/libavformat58
  27. /usr/lib/arm-linux-gnueabihf/libavformat.so.58
  28. /usr/lib/arm-linux-gnueabihf/libavformat.so
  29. /usr/lib/arm-linux-gnueabihf/libavformat.so.58.29.100
  30. /usr/lib/arm-linux-gnueabihf/pkgconfig/libavformat.pc
  31. /usr/lib/arm-linux-gnueabihf/libavformat.a
  32. /usr/include/arm-linux-gnueabihf/libavformat
  33. /usr/local/share/man/man3/libavformat.3
  34. /usr/local/lib/pkgconfig/libavformat.pc
  35. /usr/local/include/libavformat
  36. /opt/arm_ffmpeg/share/man/man3/libavformat.3
  37. /opt/arm_ffmpeg/lib/libavformat.so.58
  38. /opt/arm_ffmpeg/lib/libavformat.so
  39. /opt/arm_ffmpeg/lib/pkgconfig/libavformat.pc
  40. /opt/arm_ffmpeg/lib/libavformat.a
  41. /opt/arm_ffmpeg/lib/libavformat.so.58.45.100
  42. /opt/arm_ffmpeg/include/libavformat
  43. /opt/ffmpeg/share/man/man3/libavformat.3
  44. /opt/ffmpeg/lib/libavformat.so.58
  45. /opt/ffmpeg/lib/libavformat.so
  46. /opt/ffmpeg/lib/pkgconfig/libavformat.pc
  47. /opt/ffmpeg/lib/libavformat.a
  48. /opt/ffmpeg/lib/libavformat.so.58.45.100
  49. /opt/ffmpeg/include/libavformat

使用 objdumpnm 工具来检查 libavformat.so.58 中是否包含 avio_protocol_get_class 符号

 查看交叉编译工具链接的如下,发现没有任何打印

nm -D /lib/arm-linux-gnueabihf/libavformat.so.58 | grep avio_protocol_get_class 

查看源码编译下的,如下,发现有打印, 

所以我的办法是把编译工具下的那个文件和源码下的文件做一个替换即可 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/70030
推荐阅读
相关标签
  

闽ICP备14008679号