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.
Assistance building curl 7.77.0 with OpenSSL 3.0
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Randall S. Becker via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 20 Aug 2021 21:43:12 -0400
Hi Curl,
I'm trying to build curl and have hit a brick wall with 7.77.0 and OpenSSL 3.0. This works fine with OpenSSL 1.1.1k.
configure:31935: cc -c -c99 -D_XOPEN_SOURCE_EXTENDED=1 -Wlp64 -WIEEE_float -I/us
r/local-ssl3.0/openssl/include -I/usr/local-ssl3.0/include -I/usr/local-ssl3.0/i
nclude/openssl -DOPENSSL_SUPPRESS_DEPRECATED conftest.c >&5
struct timeval ts;
^
"/home/ituglib/randall/jenkins/.jenkins/workspace/Curl_3.0_Pipeline/conftest.c",
line 112: warning(770):
variable "ts" was set but never used
configure:31935: $? = 0
configure:31947: result: yes
configure:31963: checking run-time libs availability
configure:31984: cc -o conftest -c99 -D_XOPEN_SOURCE_EXTENDED=1 -Wlp64 -WIEEE_fl
oat -I/usr/local-ssl3.0/openssl/include -I/usr/local-ssl3.0/include -I/usr/local
-ssl3.0/include/openssl -DOPENSSL_SUPPRESS_DEPRECATED -L/usr/local-ssl3.0/lib -L
/usr/local-ssl3.0/lib conftest.c -lssl -lcrypto >&5
configure:31984: $? = 0
configure:31984: ./conftest
ac_fn_c_try_run[20]: ./conftest: tdm_execve(): failed with unexpected error
pr_errno=(4022) pr_TPCerror=(75) pr_TPCdetail=(11)
configure:31984: $? = 126
configure: program exited with status 126
configure: failed program was:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/
"
.
configure:31988: result: failed
configure:31990: error: one or more libs available at link-time are not available run-time. Libs used at link-time: -lssl -lcrypto
The error 11 means not found. 4022 is invalid function call. The platform is NonStop x86.
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'
The configure that works with OpenSSL 1.1.1k is:
CFLAGS="-c99" CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED=1 -I/usr/local-ssl1.1/openssl/include" LDFLAGS="-L/usr/local-ssl1.1/lib"
./configure --with-ssl=/usr/local-ssl1.1 --disable-pthreads --disable-threaded-resolver --enable-ipv6'
Help would be appreciated.
Thanks,
Randall
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2021-08-21
Date: Fri, 20 Aug 2021 21:43:12 -0400
Hi Curl,
I'm trying to build curl and have hit a brick wall with 7.77.0 and OpenSSL 3.0. This works fine with OpenSSL 1.1.1k.
configure:31935: cc -c -c99 -D_XOPEN_SOURCE_EXTENDED=1 -Wlp64 -WIEEE_float -I/us
r/local-ssl3.0/openssl/include -I/usr/local-ssl3.0/include -I/usr/local-ssl3.0/i
nclude/openssl -DOPENSSL_SUPPRESS_DEPRECATED conftest.c >&5
struct timeval ts;
^
"/home/ituglib/randall/jenkins/.jenkins/workspace/Curl_3.0_Pipeline/conftest.c",
line 112: warning(770):
variable "ts" was set but never used
configure:31935: $? = 0
configure:31947: result: yes
configure:31963: checking run-time libs availability
configure:31984: cc -o conftest -c99 -D_XOPEN_SOURCE_EXTENDED=1 -Wlp64 -WIEEE_fl
oat -I/usr/local-ssl3.0/openssl/include -I/usr/local-ssl3.0/include -I/usr/local
-ssl3.0/include/openssl -DOPENSSL_SUPPRESS_DEPRECATED -L/usr/local-ssl3.0/lib -L
/usr/local-ssl3.0/lib conftest.c -lssl -lcrypto >&5
configure:31984: $? = 0
configure:31984: ./conftest
ac_fn_c_try_run[20]: ./conftest: tdm_execve(): failed with unexpected error
pr_errno=(4022) pr_TPCerror=(75) pr_TPCdetail=(11)
configure:31984: $? = 126
configure: program exited with status 126
configure: failed program was:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/
"
.
configure:31988: result: failed
configure:31990: error: one or more libs available at link-time are not available run-time. Libs used at link-time: -lssl -lcrypto
The error 11 means not found. 4022 is invalid function call. The platform is NonStop x86.
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'
The configure that works with OpenSSL 1.1.1k is:
CFLAGS="-c99" CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED=1 -I/usr/local-ssl1.1/openssl/include" LDFLAGS="-L/usr/local-ssl1.1/lib"
./configure --with-ssl=/usr/local-ssl1.1 --disable-pthreads --disable-threaded-resolver --enable-ipv6'
Help would be appreciated.
Thanks,
Randall
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2021-08-21