cmake: error while loading shared libraries: libssl.so.1.1在ubuntu22.04中编译c++文件时出现如下错误: cmake: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory 解决办法:1.进网站下载对应的.deb文件,链接为:https://security.ubuntu.com/ubuntu/pool/main/o/openssl/ 下载:libssl1.1_1.1.1-1ubuntu