打开/opt/qcom/QXDM/QXDM,提示
./QXDM: error while loading shared libraries: libgstreamer-0.10.so.0: cannot open shared object file: No such file or directory
解决方案:
找到共享库,并安装。
1、首先安装apt-file,并更新。
sudo apt-get install apt-file
sudo apt-file update
2、使用apt-file的搜索功能
apt-file [options] action [pattern]
apt-file [options] -f action <file>
apt-file [options] -D action <debfile>
Configuration options:
--architecture -a <arch> Use specific architecture
--cache -c <dir> Cache directory
--cdrom-mount -d <cdrom> Use specific cdrom mountpoint
--dummy -y run in dummy mode (no action)
--fixed-string -F Do not expand pattern
--from-deb -D Use file list of .deb package(s) as
patterns; implies -F
--from-file -f Read patterns from file(s), one per line
(use '-' for stdin)
--ignore-case -i Ignore case distinctions
--non-interactive -N Skip schemes requiring user input
(useful in cron jobs)
--package-only -l Only display packages name
--regexp -x pattern is a regular expression
--sources-list -s <file> sources.list location
--verbose -v run in verbose mode
--help -h Show this help.
-- End of options (neccessary if pattern
starts with a '-')
Action:
update Fetch Contents files from apt-sources.
search|find <pattern> Search files in packages
list|show <pattern> List files in packages
purge Remove cache files
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
因此,我们安装libgstreamer-plugins-base0.10-0即可。
sudo apt-get install libgstreamer-plugins-base0.10-0
3、若有其他库文件的缺失,继续执行步骤2。