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

相关文章

目录前言一、创建Hadoop用户二、更新apt和安装Vim编辑器三、...
原文连接:https://www.cnblogs.com/yasmi/p/5192694.html ...
电脑重启后,打开VirtualBox,发现一直用的虚拟机莫名的消失...
参见:https://blog.csdn.net/weixin_38883338/article/deta...
Ubuntu 18.04 LTS 已切换到 Netplan 来配置网络接口。Netpla...
介绍每个 Web 服务都可以通过特定的 URL 在 Internet 上访问...