安装libtorrent,出现:configure: error: OpenSSL library not found
|
1 2 3 4 5 6 7 8 9 10 11 12 |
Checking features to be enabled: checking whether encryption support should be enabled... yes configure: encryption support: now checking for the OpenSSL library... checking for pkg-config... /usr/bin/pkg-config checking for include/openssl/ssl.h in /usr/local/ssl... no checking for include/openssl/ssl.h in /usr/lib/ssl... no checking for include/openssl/ssl.h in /usr/ssl... no checking for include/openssl/ssl.h in /usr/pkg... no checking for include/openssl/ssl.h in /usr/local... no checking for include/openssl/ssl.h in /usr... no checking whether compiling and linking against OpenSSL works... no configure: error: OpenSSL library not found. Try using --with-openssl=DIR or disabling encryption at all. |
解决方法:
sudo apt-get install libssl-dev

马春杰杰



最新评论
站长您好,亚马逊云咨询推广资源,望建立联系,可邮件,谢谢。
换友情链接吗?
看你的站做的挺不错的
恭喜!!太强了,硕博连读啊
雁过留毛,人过留名。
看不懂但大受震撼
每天都在战争,希望2026和平.
ZeroTier 看过多篇帖子,目前群辉、飞牛os、win11 、安卓、ubuntu ≥18.04 顺利通过,这篇相对于简单 实用、特来感谢 🙄