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

查看:37
本文介绍了我在哪里可以获得文件 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 存储库: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!)

非常感谢任何帮助:)饲料

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,那么您可以尝试更新到 toolchain 测试包:

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

否则你必须从源代码编译 GCC :

Otherwise you would have to compile GCC from source :

  • 安装先决条件(使用 sudo apt-get build-dep gcc-4.7 作为实例)
  • GNU.org
  • 获取源代码
  • 使用configuremakemake install
  • 编译它
  • 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天全站免登陆