[问题]Absoft Fortran 7.5的问题: relocation error, symbol errno

为当前最终发行版之前的所有版本提供支持
回复
sam1
帖子: 1
注册时间: 2007-11-22 14:38
送出感谢: 0
接收感谢: 0

[问题]Absoft Fortran 7.5的问题: relocation error, symbol errno

#1

帖子 sam1 » 2007-11-22 14:54

各位高人:

我正在使用Ubuntu 7.10和absoft Fortran 7.5,我在终端试图编译一个.f90文件,使用如下命令:

代码: 全选

f90 -c -O  -o ../linux/object/aurora.o aurora.f


然后出现如下错误提示:

代码: 全选

/opt/absoft/bin/f90fe: relocation error: /opt/absoft/bin/f90fe: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference


我在网上搜索了一下发现是运行库版本较高造成的,有人这样解决了问题:

代码: 全选

export LD_ASSUME_KERNEL=2.4.1


我也试了一下,但是没有作用,错误提示变成了这个:

代码: 全选

f90: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory


最终,我在absoft fortran 7.5的安装目录中发现一个文件,libstdc++-libc6.1-1.so.2,同目录下一个文本文件的说明是:
This directory contains the system libraries that Absoft Pro Fortran 7.5
has been compiled and tested with. These are used in preference to the
standard system libraries in order to prevent problems caused by library
incompatibilities.
If you find it necessary to use the standard system libraries instead of
these, simply rename the libraries in this directory. If you experience
problems with the compiler after doing this, please restore the libraries
before calling technical support.
Newer versions of libstdc++ are known to cause problems, do not use them.
Source code for these libraries can be found on the CDROM.

我是linux新手,对glibc, libc, libstdc++等不熟悉,不知道现在应该怎么办,求热心人指点。。。
谢谢!
无患子
帖子: 2
注册时间: 2009-03-05 14:34
送出感谢: 0
接收感谢: 0

Re: [问题]Absoft Fortran 7.5的问题: relocation error, symbol errno

#2

帖子 无患子 » 2009-03-05 14:54

高手,能给我传一份absoft fortran吗?
无患子
帖子: 2
注册时间: 2009-03-05 14:34
送出感谢: 0
接收感谢: 0

Re: [问题]Absoft Fortran 7.5的问题: relocation error, symbol errno

#3

帖子 无患子 » 2009-03-05 14:54

wuhuanzi@126.com 万分感谢
回复

回到 “老旧版本支持”