安装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