curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Assistance building curl 7.77.0 with OpenSSL 3.0

From: Dennis Clarke via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 22 Aug 2021 18:52:45 -0400

On 8/21/21 12:33, Randall S. Becker via curl-library wrote:
> On August 21, 2021 5:35 AM, Daniel Stenberg wrote:
>> On Fri, 20 Aug 2021, Randall S. Becker via curl-library wrote:
>>
>>> My latest configure command for OpenSSL 3.0 is:
>>>
>>> CFLAGS="-c99" CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED=1 -Wlp64 -WIEEE_float
>>> -I/usr/local-ssl3.0/openssl/include" LDFLAGS="-L/usr/local-ssl3.0/lib"
>>> conf_script_floss_cc --with-ssl=/usr/local-ssl3.0 --disable-pthreads
>>> --disable-threaded-resolver --enable-ipv6'
>>

I had no issues on ye old Fujitsu SPARC64 :

beta $ curl --version
curl 7.78.0 (sparc64-sun-solaris2.10) libcurl/7.78.0 OpenSSL/3.0.0
zlib/1.2.11 libidn2/2.3.0 libssh2/1.9.0
Release-Date: 2021-07-21
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap
ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS HSTS HTTPS-proxy IDN IPv6 Largefile libz
NTLM NTLM_WB SSL TLS-SRP UnixSockets
beta $

>> On 64 bit systems, OpenSSL doesn't make a 'lib' anymore. It uses lib64 only ..


Yep, I saw that and it is annoying. Trivial to just move the resultant
target libs around after install however. Just be careful of the
RPATH/RUNPATH data in your final ELF objects.


>> (and no, I don't know why they decided this).

Line forms on the left behind me. I have no clue why either :\

Try moving the final libssl/libcrypto shared objects into a nice
comfortable lib directory and then re-do the curl config. Worth a try.


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2021-08-23