valgrind 不接受最新版本的 glibc [英] valgrind doesn't accept newest version of glibc
问题描述
Valgrind 不喜欢 glibc 2.15:
正在检查 GLIBC_VERSION 版本...不受支持的版本 2.15配置:错误:Valgrind 需要 glibc 版本 2.2 - 2.14
我该如何处理?我必须降级 glibc 吗?如果有相关信息,我正在使用 Ubuntu 12.04.
更新:
所以我试图从那里下载源代码并安装,而不是使用 apt-get,因为我正在学习 C the Hard Way.遇到这个问题后,我求助于 apt-get 看看它是否有效.它为我安装了这个包:
libc6-dbg - 嵌入式 GNU C 库:分离的调试符号
我该如何处理?
两种方式之一:
- 使用您的发行版并下载他们已经为您构建的软件包,或者
- 找出问题(即在将
2.15
添加到configure.in
后,configure
没有重新生成)并修复它.
<块引用>
我必须降级 glibc 吗?
这可能会使您的系统无法启动(因为大多数其他二进制文件都依赖于 2.15).
Valgrind doesn't like glibc 2.15:
checking the GLIBC_VERSION version... unsupported version 2.15
configure: error: Valgrind requires glibc version 2.2 - 2.14
How can I deal with this? do I have to downgrade glibc? I'm working on Ubuntu 12.04 if that is pertinent info.
Update:
So I was attempting to download source and install from there instead of using apt-get since I'm going through Learn C the Hard Way. After I got this problem I resorted to apt-get to see if it would work. it installed this package for me:
libc6-dbg - Embedded GNU C Library: detached debugging symbols
How can I deal with this?
One of two ways:
- Use your distribution and download the package they've already built for you, or
- Figure out the problem (which is that
configure
has not been regenerated after2.15
was added toconfigure.in
) and fix it.
do I have to downgrade glibc?
That will likely render your system un-bootable (because most other binaries depend on 2.15).
这篇关于valgrind 不接受最新版本的 glibc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!