error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No s
2012-11-07 15:22
471 查看
刚装完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权限)。
转自:/article/11378919.html
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权限)。
转自:/article/11378919.html
相关文章推荐
- error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
- ./jad: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
- 解决启动MongoDB错误:error while loading shared libraries: libstdc++.so.6:cannot open shared object 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
- 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: libstdc++.so.6: cannot open shared object file: No such file o
- error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file
- 解决openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No s
- aapt: error while loading shared libraries: libc++.so: cannot open shared object file: No such file
- 启动MongoDB时,提示:error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
- glpsol: error while loading shared libraries: libglpk.so.0: cannot open shared object file: No such
- 运行错误:error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or
- error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
- error while loading shared libraries: libTradeInterfaceSDK.so: cannot open shared object file: No su
- protoc: error while loading shared libraries: libprotoc.so.8: cannot open shared object file: No suc
- uwsgi部署web,error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
- mplayer: error while loading shared libraries: libartsc.so.0: cannot open shared object file: No suc