【问题标题】:ncl: /lib/x86_64-linux-gnu/libssl.so.10: version `libssl.so.10' not found (required by ncl)ncl:/lib/x86_64-linux-gnu/libssl.so.10:找不到版本“libssl.so.10”(ncl 需要)
【发布时间】:2017-10-14 14:33:00
【问题描述】:

这是指在我的系统中运行 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)

【问题讨论】:

    标签: linux shared-libraries ncl


    【解决方案1】:

    在 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
    

    【讨论】:

      【解决方案2】:

      对于 Ubuntu 16,请查看 NCL 论坛提供的帮助: mailman.ucar.edu/pipermail/ncl-install/2017-11月/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
      

      conda 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
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2017-08-05
        • 2020-07-22
        • 2023-02-23
        • 1970-01-01
        • 1970-01-01
        • 2018-06-26
        • 2017-12-27
        • 2019-07-23
        相关资源
        最近更新 更多