On Mon, Apr 17, 2023 at 1:24 AM Rahul Sabnis <[email protected]> wrote:
> I think you need to rebuild OpenSSL with --api=3.0.0. See >> https://github.com/openssl/openssl/blob/master/INSTALL.md#api-level . >> >> I built OpenSSL with these options: --api=3.0 no-deprecated > But I start all over again and come back to you with results. > > >> You might also consider adding the option enable-ec_nistp_64_gcc_128 >> on x86_64 machines. >> > Should I use it for building OpenSSL or cURL or both ? > > Finally I could build cURL successfully. Looks like setting the PKG_CONFIG_PATH variable solved the problem. Below is the configuration I used for OpenSSL & cURL -------------------------------------------------------------------------- ./Configure --prefix=/home/omdev/rahul/install/openssl-3.1.0 --openssldir=/home/omdev/rahul/install/openssl-3.1.0 shared no-asm --api=3.0.0 no-deprecated export CC="gcc" export CFLAGS="-fPIC" export CPPFLAGS="-Dlinux26" export PKG_CONFIG_PATH="/home/omdev/rahul/install/openssl-3.1.0/lib64/pkgconfig" chmod +x ./configure ./configure --prefix=/home/omdev/rahul/install/curl --enable-http --with-openssl --enable-cookies --enable-shared=yes --enable-static=no --without-zlib --disable-ldap --disable-ldaps --disable-unix-sockets --disable-rtsp --disable-threaded-resolver --disable-ntlm Attached the config logs for OpenSSL & cURL Thanks for the help. Rahul.
<<attachment: config.zip>>
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html
