我尝试将gdb与我的代码一起使用,但它给了我一个错误:
Missing separate debuginfos, use: debuginfo-install
blas-3.2.1-4.el6.x86_64 libtool-ltdl-2.2.6-15.5.el6.x86_64
尝试安装缺少的软件包,但收到另一个错误:
# debuginfo-install blas-3.2.1-4.el6.x86_64 libtool-ltdl-2.2.6-15.5.el6.x86_64
Loaded plugins: auto-update-debuginfo, fastestmirror, priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: mirror.gpmidi.net
* extras: mirror.csclub.uwaterloo.ca
* rpmforge: mirror.nexcess.net
* updates: mirror.gpmidi.net
Could not find debuginfo for main pkg: blas-3.2.1-4.el6.x86_64
Could not find debuginfo pkg for dependency package blas-3.2.1-4.el6.x86_64
Package glibc-debuginfo-2.12-1.166.el6_7.3.x86_64 already installed and latest version
Package glibc-debuginfo-2.12-1.166.el6_7.3.x86_64 already installed and latest version
Package glibc-debuginfo-2.12-1.166.el6_7.3.x86_64 already installed and latest version
Package gcc-debuginfo-4.4.7-16.el6.x86_64 already installed and latest version
Package gcc-debuginfo-4.4.7-16.el6.x86_64 already installed and latest version
Package glibc-debuginfo-2.12-1.166.el6_7.3.x86_64 already installed and latest version
Package glibc-debuginfo-2.12-1.166.el6_7.3.x86_64 already installed and latest version
Could not find debuginfo for main pkg: libtool-ltdl-2.2.6-15.5.el6.x86_64
Package glibc-debuginfo-2.12-1.166.el6_7.3.x86_64 already installed and latest version
Package glibc-debuginfo-2.12-1.166.el6_7.3.x86_64 already installed and latest version
Package glibc-debuginfo-2.12-1.166.el6_7.3.x86_64 already installed and latest version
Package glibc-debuginfo-2.12-1.166.el6_7.3.x86_64 already installed and latest version
Package glibc-debuginfo-2.12-1.166.el6_7.3.x86_64 already installed and latest version
Package glibc-debuginfo-2.12-1.166.el6_7.3.x86_64 already installed and latest version
Package glibc-debuginfo-2.12-1.166.el6_7.3.x86_64 already installed and latest version
Could not find debuginfo pkg for dependency package libtool-ltdl-2.2.6-15.5.el6.x86_64
No debuginfo packages available to install
我下载了一个软件包,但在尝试手动安装时,它说它已经安装了:
$ sudo rpm -ivh blas-3.2.1-4.el6.x86_64.rpm
warning: blas-3.2.1-4.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 41a40948: NOKEY
Preparing... ########################################### [100%]
package blas-3.2.1-4.el6.x86_64 is already installed
file /usr/lib64/libblas.so.3.2.1 from install of blas-3.2.1-4.el6.x86_64 conflicts with file from package blas-3.2.1-4.el6.x86_64
操作系统是CentOS 6.7。以防万一,我的/etc/yum.repos.d/CentOS-Debuginfo.repo目前:
[base-debuginfo]
name=CentOS-6 - Debuginfo
baseurl=http://debuginfo.centos.org/6/$basearch/
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Debug-6
enabled=1
有什么想法吗? 提前谢谢。