./ffmpeg: error while loading shared libraries: libx264.so.164: cannot open shared object file: No such file or directory
时间: 2023-10-15 13:29:44 浏览: 356
引用、和提供了类似的问题,这些问题中都提到了"./ffmpeg: error while loading shared libraries: libx264.so.125: cannot open shared object file: No such file or directory"或类似的错误信息。这个错误表示在尝试加载共享库libx264.so.125时,系统无法找到该文件或目录。
在这种情况下,可能有几种原因导致这个错误。首先,可能是因为缺少libx264.so.125文件,可以尝试重新安装ffmpeg软件包,或者手动安装libx264.so.125库文件。其次,可能是因为系统没有正确配置动态链接库搜索路径,可以通过设置LD_LIBRARY_PATH环境变量来指定搜索路径。最后,可能是因为libx264.so.125文件的权限不正确,可以使用chmod命令修改文件权限。
总结起来,如果你遇到"./ffmpeg: error while loading shared libraries: libx264.so.164: cannot open shared object file: No such file or directory"或类似的错误,你可以尝试重新安装ffmpeg软件包,手动安装libx264.so.164库文件,设置LD_LIBRARY_PATH环境变量来指定搜索路径,或者检查libx264.so.164文件的权限是否正确。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [./ffmpeg: error while loading shared libraries: libx264.so.125: cannot open shared object file: No s](https://blog.csdn.net/qq_39360753/article/details/121118283)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [(已解决)ffmpeg: error while loading shared libraries: libavdevice.so.58](https://blog.csdn.net/weixin_45617478/article/details/103336168)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文