Reputation: 9
I was looking everywhere how to solve this problem and nothing.
I am using Centos 6 VPS. Thanks
Upvotes: 0
Views: 3786
Reputation: 2495
As @Icarus3 mentioned, make sure SSL feature is enabled.
$ curl --version
See curl/CMakeLists.txt
.
if(WIN32 OR CURL_USE_SECTRANSP OR CURL_USE_SCHANNEL OR CURL_USE_MBEDTLS OR CURL_USE_NSS OR CURL_USE_WOLFSSL)
set(openssl_default OFF)
endif()
If you are using CMake to build curl, you can use the following command.
$ cmake -D BUILD_SHARED_LIBS=OFF \
-D CURL_USE_SCHANNEL=ON \
-D CURL_STATIC_CRT=ON ..
Upvotes: 0
Reputation: 1
On Ubuntu, you may install the development package, which is libssl-dev:
sudo apt-get install libssl-dev
It works for me.
Upvotes: -1