2017-05-15 167 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 
:您可以通過安裝
相關問題