Scroll to top

实验五 遇到的问题:openssl: error while loading shared libraries: libssl.so.1.1

  • 遇到的问题

    • 命令行:linux@ubuntu64-vm:~/exp/exp5$ openssl enc -aes-128-cbc -in test_aes.txt -out out.txt -pass pass:123456

      报错: openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
      即,加载共享库时出错:libssl.so.1.1:无法打开共享对象文件:没有这样的文件或目录

    • 解决:
      使用ln命令构建文件件连接

    ln -s /usr/local/lib/libssl.so.1.1 /usr/lib/libssl.so.1.1
    ln -s /usr/local/lib/libcrypto.so.1.1 /usr/lib/libcrypto.so.1.1

    权限不够+sudo
    
    ![](https://img2018.cnblogs.com/blog/1591847/201912/1591847-20191202101652709-1234705955.png)
    
    
    
    
  • 资料参考:error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file:

posted @ 2019-12-02 10:17  September_starlet  阅读(810)  评论(0编辑  收藏  举报
动态线条
动态线条end