2017-05-15 162 views
1

这是参考在我的系统中运行WRF模型。我正在运行文件plotgrids.ncl以确保在运行geogrid.exe之前该域位于正确的位置。在我的终端运行下面​​的命令(Ubuntu的) ncl util/plotgrids.ncl 给了我以下错误:ncl:/lib/x86_64-linux-gnu/libssl.so.10:未找到版本`libssl.so.10'(需要ncl)

ncl: /lib/x86_64-linux-gnu/libssl.so.10: version 'libssl.so.10' not found (required by ncl) ncl: /lib/x86_64-linux-gnu/libcrypto.so.10: version 'libcrypto.so.10' not found (required by ncl)

回答

0

在一个NCL 6.4.0安装在Ubuntu的10.10溶液呈 搜索一个COMPAT-openssl10包, COMPAT-openssl10-1.0.2j-9.fc26.x86_64.rpm 做这个步骤,把它变成一个.deb软件包:

apt-get install libdpkg-perl 
alien compat-openssl10-1.0.2j-9.fc26.x86_64.rpm 
dpkg -i compat-openssl10_1.0.2j-10_amd64.deb 

find/-name libssl.so.* 

现在将显示它在/ usr/lib中/ libssl.so。 10

NCL仍然会抱怨GLIBC版本 在这种情况下,是由编辑

vi /etc/apt/sources.list 
:%s/maverick/wily/g 

apt-get update 
apt-get install libc6 

解决了这个仍显示为2.15与

ldd --version 

但是现在的测试与

ng4ex xy01n -clean 
工作
0

对于Ubuntu 16请查看NCL论坛给出的帮助 mailman.ucar.edu/pipermail/ncl-install/2017-November/thread.html 作为恢复这里:使用Python的3.6 Linux 64位(bash的安装程序)

cd /home/user/Downloads/ 
chmod +x Miniconda2-latest-Linux-x86_64.sh 
./Miniconda2-latest-Linux-x86_64.sh 
conda -V 

康达

http://conda.pydata.org/miniconda.html 30年3月4日

http://ncl.ucar.edu/Download/conda.shtml

conda create -n ncl_stable -c conda-forge ncl=6.4.0 gsl 
[email protected]:~# source activate ncl_stable 
(ncl_stable) [email protected]:~# ncl -V 

6.4.0

ng4ex xy05n -clean -W png 

它的工作原理!

外康达(ncl_stable)

ng4ex 

程序 'ng4ex' 当前未安装。

sudo su 
vi /etc/apt/sources.list 

在结尾处加上

deb http://http.us.debian.org/debian/ testing non-free contrib main 

退出编辑

apt-get update 
apt install libncarg-bin 
:您可以通过安装
相关问题