Ubuntu 10.04 libstdc++5 的问题


1). 如果您正在运行 Ubuntu,请尽量使用像 aptitude 或者 synaptic 一样的软件包管理器,代替人工手动操作的方式从这个网页下载并安装软件包。

2). 您可以使用以下列表中的任何一个源镜像只要往您的 /etc/apt/sources.list 文件中像下面这样添加一行:

deb http://cz.archive.ubuntu.com/ubuntu jaunty main universe

请使用最终确定的源镜像替换 cz.archive.ubuntu.com/ubuntu。

3). If you try installing Intel Fortran Compiler on Ubuntu 10.04 Lucid Lynx or Karmic Koala, it is going to throw the error:

error while loading shared libraries: libstdc .so.5

The original libstdc 5 package is no longer available with the Ubuntu 9.10 repos.

(a). So for 32 bit system you would have to get it from  Jaunty Repository.

Install it and you are good to go if you are using the 32 bit OS.

(b). For 64 bit it is a bit complicated, first install libstdc 5 64bit and then do the following:

wget http://security.ubuntu.com/ubuntu/pool/universe/i/ia32-libs/ia32-libs_2.7ubuntu6.1_amd64.deb

dpkg-deb  -x  ia32-libs_2.7ubuntu6.1_amd64.deb  ia32-libssudo

cp  ia32-libs/usr/lib32/libstdc .so.5.0.7  /usr/lib32/

cd /usr/lib32

sudo  ln  -s  libstdc .so.5.0.7  libstdc .so.5

This should get you going.

相关内容