Re: libcurl build from source with openssl

2021-02-25 Thread Daniel Stenberg via curl-library
On Thu, 25 Feb 2021, Nir Azkiel via curl-library wrote: After reading more about it, it looks like libcurl is using deprecated functions like SSL_Close for example (Deprecated at OSX 10.13) Is there a way to make it work with 10.13 version? It might be deprecated, although that's the first

Re: libcurl build from source with openssl

2021-02-25 Thread Nir Azkiel via curl-library
On Thu, Feb 25, 2021, 16:24 Nir Azkiel wrote: > Sorry for the top post, > > I hope this way is OK now (without the earlier posts). > > > > You helped a lot !! > > I didn't knew that gcc was sensitive about lib order. > > So now it works on Linux and macOs fail. > > > > I activated this flag

Re: libcurl build from source with openssl

2021-02-25 Thread Nir Azkiel via curl-library
Sorry for the top post, I hope this way is OK now (without the earlier posts). You helped a lot !! I didn't knew that gcc was sensitive about lib order. So now it works on Linux and macOs fail. I activated this flag CMAKE_USE_SECTRANSP=ON but I get linkage errors ., should I link a

Re: libcurl build from source with openssl

2021-02-24 Thread Ray Satiro via curl-library
On 2/24/2021 5:24 PM, Nir Azkiel via curl-library wrote: This is the cmake file for the libcurl:     include(ExternalProject)     message(STATUS "Building libcurl enabled")     set(CURL_FLAGS -DBUILD_CURL_EXE=OFF -DBUILD_SHARED_LIBS=OFF -DUSE_WIN32_LDAP=OFF -DHTTP_ONLY=ON -DCURL_ZLIB=OFF

Re: libcurl build from source with openssl

2021-02-24 Thread Nir Azkiel via curl-library
Sure, This is the cmake file for the libcurl: include(ExternalProject) message(STATUS "Building libcurl enabled") set(CURL_FLAGS -DBUILD_CURL_EXE=OFF -DBUILD_SHARED_LIBS=OFF -DUSE_WIN32_LDAP=OFF -DHTTP_ONLY=ON -DCURL_ZLIB=OFF -DCURL_DISABLE_CRYPTO_AUTH=ON -DCMAKE_USE_LIBSSH2=OFF

Re: libcurl build from source with openssl

2021-02-24 Thread Ray Satiro via curl-library
On 2/24/2021 9:40 AM, Nir Azkiel via curl-library wrote: I got libcurl downloaded and build, I would like to add HTTPS support but I keep getting linkage errors. I added this flag to libcurl Externalproject_Add -DCMAKE_USE_OPENSSL=ON also I added link to ssl like this

libcurl build from source with openssl

2021-02-24 Thread Nir Azkiel via curl-library
Hi, I got libcurl downloaded and build, I would like to add HTTPS support but I keep getting linkage errors. I added this flag to libcurl Externalproject_Add -DCMAKE_USE_OPENSSL=ON also I added link to ssl like this set(OPENSSL_USE_STATIC_LIBS TRUE) find_package(OpenSSL REQUIRED)