在哪里可以获取libstdc ++。so.6.0.15的文件副本 [英] Where can I get a copy of the file libstdc++.so.6.0.15

查看:155
本文介绍了在哪里可以获取libstdc ++。so.6.0.15的文件副本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图解决我的问题GLIBCXX_3.4.15没有找到,这是相当有条理的修复。但是它需要从某个地方获取文件libstdc ++。so.6.0.15。

I am trying to fix my problem "GLIBCXX_3.4.15" not found, which is fairly well documented to fix. But it requires getting the file "libstdc++.so.6.0.15" from somewhere.

大多数解决方案告诉我从我编译我的c ++的位置图书馆。但是,我没有编译它,它与我的Ubuntu安装一起,当我找到该文件时,找不到它。

Most of the solutions tell me to get it from the location that I compiled my c++ library from. However, I did not compile it, it came with my Ubuntu installation, and when I do "locate" for that file it is not found.

所以,我想只是从某个地方下载,但是我无法在网路上找到它。我试图看svn repo:svn://gcc.gnu.org/svn/gcc,但无法找到它(它的巨大!)

So, I would like to just download it from somewhere, but I can't find it on the web anywhere. I have tried to look in the svn repo: svn://gcc.gnu.org/svn/gcc, but was not able to find it (its huge!)

任何帮助非常感谢:)
Fodder

Any help much appreciated :) Fodder

推荐答案

你不应该手动下载这个库,如果你在Ubuntu Linux上,应该在这个软件包中发货:

You shouldn't have to manually download this library, if you're on Ubuntu Linux, it should be shipped inside this package :

sudo apt-get install libstdc++6

如果您已经有 libstdc ++ 6 ,那么问题在别的地方,你应该首先解释你想要实现的目标。

If you already have libstdc++6, then the problem is elsewhere and you should explain what you're trying to achieve in the first place.

如果你想要一个较新版本的 libstdc ++ 6 比默认包中提供的那些,那么您可以尝试更新到工具链测试包:

If you want a newer version of libstdc++6 than the one provided in the default package, then you can try to update to the toolchain test package :

sudo add-apt-repository ppa:ubuntu-toolchain-r/test 
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

否则你将不得不co来自源的mpile GCC:

Otherwise you would have to compile GCC from source :

  • Install the prerequisite (using sudo apt-get build-dep gcc-4.7 as instance)
  • Get the source from GNU.org
  • Compile it using configure, make and make install

这篇关于在哪里可以获取libstdc ++。so.6.0.15的文件副本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆