实验五 遇到的问题: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: