How to fix 'Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions'

在linux中可以通过如下方式 Extending default lib search path:
在/etc/ld.so.conf.d/下创建一个 .conf文件,将lib文件所在路径添加进去.
安装完一个lib之后,执行ldconfig命令

但是,如果在上述过程中出现错误,有时会遇到如下问题,导致cmake等命令无法执行,提示如下:

$ cmake --version
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!

在网上搜了一遍,没有找到相关解决方法,自己用 locate ld.so

发现出来如下内容:

$ locate ld.so
/etc/ld.so.cache
/etc/ld.so.conf
/etc/ld.so.conf.d
/etc/ld.so.conf.d/libc.con

于是就执行

sudo rm /etc/ld.so.cache

删除了ld.so.cache,结果问题解决了。

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
一个快速切换谷歌和百度之间切换,而不会丢失您的搜索关键字 G.B.Switcher has only one function: when you are googling something, click the icon in the address bar, chrome will open a new tab, and show you the searching result of baidu.com, and vice versa. The extension only works when surfing google.com, google.com.hk, google.cn(both http and https protocols) and baidu. For bug reporting and feature request, mail me at [email protected]. ======================================================== 2015-11-15: * It now works AGAIN. Minor bug fixed. ======================================================== 2010-08-07: *High CPU usage problem solved. *Since google's SSL search service cannot be reached in China, it uses the http version *Google search result will be open in a new tab ======================================================== * Thanks to the inconsistency of baidu's searching url parameters between different search products, the extension may not work when searching for news, images and so on. The bug was fixed. * Some optimization of the javascript code. =================================================== 2010-08-07: *高CPU占用问题解决。 *因为https杯具了,所以改回了http。一般情况下没有太大的问题了 *Google搜索结果会在新标签中打开 ------------------------------ 介个东东说白了就是为懒人准备的,因为chrome允许懒人直接在地址栏里边敲关键字,而我又用得很爽,但是偶尔Google的结果很难看,去百度呢,又懒得得再敲一遍网址和关键字,所以就搞了这个东东。 使用方法: 安装完了会在地址栏最后显示一个图标,每次搜索的时候,等google的页面出来了,点一下这个图标,就自动新开个tab,然后去百度里边搜你的关键字。 偶尔可能会有crash的情况。 如果是被墙的词,插件取不到词。 有问题,有建议,都欢迎来信 ehaagwlke#gmail.com 支持语言:English

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值