./ffmpeg: error while loading shared libraries: libx264.so.138: cannot open shared object file: No s
在安装ffmpeg时,执行完
./configure--enable-libx264 --enable-gpl --disable-yasm --prefix=/usr/local/ffmpeg
make
都没有错误
但是在向rtmp服务器推流的时候
./ffmpeg -re -i /media/jxs2.rmvb -vcodec libx264 -f flv"rtmp://192.168.5.200:1935/live/a2"
出现以下错误
./ffmpeg: error while loading shared libraries: libx264.so.138: cannot open shared object file: No such file or directory
解决方法:
1. 查看ld.so.conf文件
vi /etc/ld.so.conf
添加/usr/local/x264/lib,如下
include ld.so.conf.d/*.conf
/usr/local/x264/lib
wq退出ld.so.conf文件
2. 执行 ldconfig
3. 重新推流,问题解决
./ffmpeg: error while loading shared libraries: libx264.so.138: cannot open shared object file: No s相关推荐
- ffmpeg: error while loading shared libraries: libavdevice.so.52
今天在编译安装ffmpeg的时候出现了题目中的问题,最终解决方案如下: errors: ffmpeg正常安装后执行ffmpeg时出现如下错误: ffmpeg: error while loading ...
- 报错解决:cp: error while loading shared libraries: libc.so.6: cannot open shared object file: No such fi
我的个人博客:zhang0peter的个人博客 先说一下为什么会发生这个错误,我看这篇博客:分享Centos6.5升级glibc过程 ,里面提到了如下命令: $ rm -rf /lib64/libc. ...
- linux android gradle构建机器 error while loading shared libraries: libz.so.1: cannot open shared object
原因:64位 linux 机器缺少32位lib相关的支持库 如果yum 服务器上有 相关的库最好使用 yum 安装,其他 博客上使用 apt-file 安装. 查看libz.so.1属于 glic 库 ...
- 错误./hello: error while loading shared libraries: libQtGui.so.4: cannot open shared object file:
之前一直想在ARM 上跑qt,但都出现错误: ./hello: error while loading shared libraries: libQtGui.so.4: cannot open sha ...
- ./mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such
[root@iZbp10xlek93e0is7ye8o6Z bin]# ./mysqld --user=mysql --basedir=/usr/local/mysql-8.0 --datadir=/ ...
- ./mysqld: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No suc
./mysqld: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No suc ...
- nginx启动报错 :./nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object fi
jnydjky@jnydjky:/usr/local/nginx/sbin$ ./nginx ./nginx: error while loading shared libraries: libpcr ...
- 报错:error while loading shared libraries: libz.so.1: cannot open shared object file
OS: Kali linux Compile toolchian: arm-none-linux-gnueabi# arm-none-linux-gnueabi-gcc hook.c arm-linu ...
- 启动Nginx时报错:error while loading shared libraries: librdkafka.so.1: cannot open shared object file: No
安装了Nginx之后,启动时报错: error while loading shared libraries: librdkafka.so.1: cannot open shared object f ...
最新文章
- 原子层沉积(ALD)和化学气相沉积(CVD)微电子制造铜金属化的研究进展
- JS的window-location
- 2019年第十届蓝桥杯 - 省赛 - C/C++大学A组 - D. 迷宫
- Why IBASE category 03 is filtered out in creation
- Android之设置当前app为默认浏览器研究
- ConcurrentHashMap源码剖析(1.8版本)
- 7-138 打印沙漏 (20 分)
- ArcObjects操作PageLayoutControl中元素位置,以图框、ITextSymbol为例
- Java导出Excel 复杂表头
- 搭建跨平台编程环境Code::Blocks+wxWidgets
- JSP的自定义标签(五)之Tag File
- hashmap8底层源码剖析1--构造以及put
- html幻灯片图片切换效果代码,javascript实现图片切换的幻灯片效果源代码
- 自动化脚本开发,真香.....
- 第八章第六题(代数:两个矩阵相乘的方法)(Algebra: a method of multiplying two matrices)
- 服务器支持 TLS Client-initiated 重协商攻击(CVE-2011-1473复现验证)
- 北京航空航天大学961计算机专业综合考纲
- RFID射频卡、IC卡、ID卡在称重系统中有什么作用
- Element UI 多选搜索实现拼音匹配
- CSDN专属idea插件上线啦~~
热门文章
- SOAP协议 访问Webservice
- 小功能隐藏着大学问---windows的ACL带来的挑战
- 利用 Cosole 来学习、调试JavaScrip
- asp.net在线发送邮件,以前没做过,调试好了。
- CodeForces - 1543D1 RPD and Rap Sheet (Easy Version)(异或+交互)
- 中石油训练赛 - Insertion Order(二叉搜索树+构造)
- 中石油训练赛 - Incremental Induction(贪心)
- CodeForces - 1213E Two Small Strings(暴力+构造)
- oracle函数中bitand,Oracle bitand()函数使用方法
- python 链表推导式_五--python之数据结构(Data Structures)