- 积分
- 973
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-10-27
- 最后登录
- 1970-1-1
|
发表于 2011-10-31 21:46:05
|
显示全部楼层
我也是初学者,也不会,我现在还没有在服务器上安装成功呢,愁死了,不过我好像看到有描述你这个问题的,就附上来给你:http://www.ncl.ucar.edu/Download/linux.shtml
具体是下面这样的:
For most Linux binaries, NCL was built using gcc and gfortran. This may cause a dependency on a file called "libgfortran.so.x".
If you have a different version of gfortran installed on your system than what NCL was built with, then you may get an error message that "libgfortran.so.x can't be found".
If you see this, then you can try one of these things:
Try to find the libgfortran.so.x file that it is complaining about. You can try the "locate" command. For example if the file is "libgfortran.so.1":
locate libgfortran.so.1
If found, add this path to your LD_LIBRARY_PATH environment variable.
For example, if "libgfortran.so.1" is the file you need, and it is in /usr/local/lib, then look at the instructions below, depending on what shell you are running, and depending on whether LD_LIBRARY_PATH is already set:
env | grep LD_LIBRARY_PATH
From csh or tcsh, if not set:
setenv LD_LIBRARY_PATH /usr/local/lib
From csh or tcsh, if already set:
setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH:/usr/local/lib
From bash or ksh, if not set:
export LD_LIBRARY_PATH=/usr/local/lib
From bash or ksh, if already set:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
From sh, if not set:
LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH
From sh, if already set:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH
Install the "compat-libgfortran" runtime library. See one of these sites for starters:
http://rpmfind.net/linux/rpm2htm ... mpat-libgfortran-41
https://admin.fedoraproject.org/ ... 7a1a58108960859779f
Install the version of gfortran that your version of NCL was built with. (It is possible to have multiple versions of gfortran installed on the same system without conflict.)
It may then be necessary to set the LD_LIBRARY_PATH environment variable to the path of the "libgfortran.so.x" file.
If all else fails, then send email to ncl-install@ucar.edu. You need to be a member in order to post.
|
|