1

这是指在我的系统中运行 WRF 模型。我正在尝试运行文件 plotgrids.ncl 以确保在运行 geogrid.exe 之前域位于正确的位置。在我的终端(ubuntu)中运行以下命令 ncl util/plotgrids.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)

4

2 回答 2

0

在 Ubuntu 10.10 的一次 NCL 6.4.0 安装中,解决方案是搜索 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
于 2017-11-14T10:26:47.603 回答
0

对于 Ubuntu 16,请查看 NCL 论坛在 mailman.ucar.edu/pipermail/ncl-install/2017-November/thread.html 提供的帮助,此处恢复:

http://conda.pydata.org/miniconda.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

康达 4.3.30

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

conda create -n ncl_stable -c conda-forge ncl=6.4.0 gsl
root@hostname:~# source activate ncl_stable
(ncl_stable) root@hostname:~# ncl -V

6.4.0

ng4ex xy05n -clean -W png

有用!

在 conda (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
于 2017-11-15T13:55:01.170 回答