error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No s
来源:互联网 发布:淘宝卖假蛋白粉 编辑:程序博客网 时间:2024/05/17 04:12
刚装完UBUNTU 8.04,安装H3C上网认证的时候,报错:
linux1x: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
找了一会,终于在网上找到了libstdc++-libc6.2-2.so.3(下载完,去掉.gif)
再附上一些网上的解决方法:
如果遇到错误提示缺少libstdc++-libc6.2-2.so.3,就在在 /usr/lib下做一个名为libstdc++-libc6.2-2.so.3的c++标准库文件(这种方法最简单)
办法: 在/usr/lib下做一个名为libstdc++-libc6.2-2.so.3的软链接到高版本的libstdc++
代码:
$ cd /usr/lib
$ ls libstdc++*
在我的系统上ls命令的结果是 libstdc++.so.5.0.7 libstdc++.so.6.0.8
libstdc++.so.6.0.8就是我们要找的,给它做个链接
代码:
$ sudo ln -s libstdc++.so.6.0.8 libstdc++-libc6.2-2.so.3
这时候你可以再试一下linux1x命令
或者直接将libstdc++.so.x.x.x复制一份到/usr/lib下面,命名为libstdc++-libc6.2-2.so.3即可。
代码:
$ sudo cp libstdc++.so.6.0.8 libstdc++-libc6.2-2.so.3
===========
第一次运行linux1x都提示缺少一个文件(记得好像是以libstdc++开头的──标准的c++库。)其实系统中有这个库文件在系统中存在,只是现 在不叫这个名字了而已。你可以使用命令“locate libstdc++”找到一个与提示中最相近的文件(位于/usr/share/lib下面吧,记不清了),然后在那个文件所在的目录复制一个,命名为提 示中提示的文件名,就可以用了(要用到sudo权限)。
转自:http://blog.csdn.net/lornice/article/details/2891674
- error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No s
- error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
- error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file
- ./ffmpeg: error while loading shared libraries: libx264.so.138: cannot open shared object file: No s
- error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file o
- adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file:
- 【FAQ】Gradle编译,error while loading shared libraries: libstdc++.so.6: cannot open shared object file
- mongodb 安装错误error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No
- error while loading shared libraries: libzmq.so.3: cannot open shared object file: No such
- memstat: error while loading shared libraries: libmemcached.so.3: cannot open shared object file: No
- error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
- error while loading shared libraries: libXXX.so.x: cannot open shared object file: No such file
- error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file.....
- error while loading shared libraries: libiw.so.29: cannot open shared object file: No such file
- error while loading shared libraries: XXX.so: cannot open shared object file: No such file...
- jps: error while loading shared libraries: libjli.so: cannot open shared object file: No such file..
- error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
- error while loading shared libraries: libcudart.so.6.5: cannot open shared object file: No such file
- iOS地图定位小理解
- java的移位操作详解,左移和右移
- JS 掺元类
- ubuntu在安装好中文包后,安装小小(yong)中文输入法
- 2010 腾讯php程序员面试题目
- error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No s
- 淺談Windows 8 Metro Style App開發
- Nginx http初始化(二)
- Jboss ESB 入门日志
- 原码 补码和反码
- winsta0,session,desktop,winlogon,default
- ip释放
- dataset小记
- 第7题 微软亚院之编程判断俩个链表是否相交 给出俩个单向链表的头指针,比如h1,h2,判断这俩个链表是否相交,并找出第一个相交结点。