ubuntu共享库文件缺失

打开/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。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

阅后即奋

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值