ubuntu启动qtcreator,提示缺少libgstreamer-0.10.so.0

在Linux下启动Qtcreator的时候,报错:error while loading shared libraries: libgstreamer-0.10.so.0: cannot open shared object file: No such file or directory

查找资料之后,借助 apt-file 命令 可以查找缺少包所依赖的linux文件,然后用 apt-get install 安装所对应的文件,


apt-file认是没有安装的,需要先安装apt-file

$ sudo apt-get install apt-file
$ sudo apt-file update


启动qtcreator报错

$ rstudio
rstudio: error while loading shared libraries: libgstreamer-0.10.so.0: cannot open shared object file: No such file or directory


用 apt-file 查找 libgstreamer-0.10.so.0 对应的文件,Tahoma; font-size:14px"> $ apt-file search libgstreamer-0.10.so.0
libgstreamer0.10-0: /usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0
libgstreamer0.10-0: /usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0.30.0


通过上面查到 包 对应的文件是 libgstreamer0.10-0,用 apt-get install 安装

$ sudo apt-get install libgstreamer0.10-0


报缺失 libgstapp-0.10.so.0 错误解决方法类似

$ rstudio rstudio: error while loading shared libraries: libgstapp-0.10.so.0: cannot open shared object file: No such file or directory $ apt-file search libgstapp-0.10.so.0 libgstreamer-plugins-base0.10-0: /usr/lib/x86_64-linux-gnu/libgstapp-0.10.so.0 libgstreamer-plugins-base0.10-0: /usr/lib/x86_64-linux-gnu/libgstapp-0.10.so.0.25.0 $ sudo apt-get install libgstreamer-plugins-base0.10-0

相关文章

ubuntu退出redis的示例:指定配置文件方式启动源码redis:roo...
ubuntu中mysql改密码忘了的解决方法:1.在终端中切换到root权...
ubuntu安装mysql失败的解决方法原因:可能是原有的MySQL还有...
使用centos和ubuntu建站的区别有以下几点1.CentOS是Linux发行...
ubuntu图形界面和字符界面切换的方法:可以通过快捷键CTRL+A...
ubuntu中重启mysql失败的解决方法1.首先,在ubuntu命令行中,...