qt项目运行报:error while loading shared libraries: libgstapp-0.10.so.0: cannot open shared或打不开帮助模块

  1. 安装下面两个库:

  2. libgstreamer0.10-dev

  3. libgstreamer-plugins-base0.10-dev

安装方法:

在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 对应的文件,

$ 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

你可能感兴趣的:(QT,Linux,qt,libgstapp-0.10,打不开帮助模块)