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: Curl Configuration Weirdness for libz.a
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Randall via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 30 Aug 2023 17:03:34 -0400
>-----Original Message-----
>From: curl-library <curl-library-bounces_at_lists.haxx.se> On Behalf Of Dan
Fandrich
>via curl-library
>Sent: Wednesday, August 30, 2023 3:50 PM
>To: curl-library_at_lists.haxx.se
>Cc: Dan Fandrich <dan_at_coneharvesters.com>
>Subject: Re: Curl Configuration Weirdness for libz.a
>
>On Wed, Aug 30, 2023 at 03:27:34PM -0400, Randall via curl-library wrote:
>> ln: failed to create hard link '.libs/libcurl.lax/lt1-libz.a' =>
>> '/usr/coreutils/lib/libz.a': Cross-device link
>
>This looks like a bad assumption on the part of libtool that a hard link is
possible. I
>don't know why it's try to do this in the first place. Have you tried
updating libtool?
>What configure options and environment variables are you giving when this
happens?
Actually, there is no libtool on the platform, so upgrading will be
difficult. No LIB, INCLUDES, or other compile-related environment variables.
For the OpenSSL 3.0 build:
CFLAGS="-c99" CPPFLAGS="-Wnowarn=2040 -D_XOPEN_SOURCE_EXTENDED=1
-WIEEE_float -I/usr/coreutils/include -I/usr/local-ssl3.0/openssl/include"
LDFLAGS="/usr/coreutils/lib/libz.a -L/usr/coreutils/lib
-L/usr/local-ssl3.0/lib" ./configure --prefix=/usr/local-ssl3.0
--with-ssl=/usr/local-ssl3.0 --with-ca-path=/usr/local-ssl3.0/ssl/certs
--disable-pthreads --disable-threaded-resolver --enable-ipv6
--with-zlib=/usr/coreutils/lib/libz.a
For the OpenSSL 1.1.1 build:
CFLAGS="-c99" CPPFLAGS="-Wnowarn=2040 -D_XOPEN_SOURCE_EXTENDED=1
-I/usr/coreutils/include -I/usr/local-ssl1.1/include"
LDFLAGS="/usr/coreutils/lib/libz.a -L/usr/local-ssl1.1/lib
-L/usr/coreutils/lib -L/usr/local/lib" ./configure
--prefix=/usr/local-ssl1.1 --with-ssl=/usr/local-ssl1.1
--with-ca-path=/usr/local-ssl1.1/ssl/certs --disable-pthreads
--disable-threaded-resolver --enable-ipv6
--with-zlib=/usr/coreutils/lib/libz.a --with-openssl
--prefix=/usr/local-ssl1.1
--Randall
Date: Wed, 30 Aug 2023 17:03:34 -0400
>-----Original Message-----
>From: curl-library <curl-library-bounces_at_lists.haxx.se> On Behalf Of Dan
Fandrich
>via curl-library
>Sent: Wednesday, August 30, 2023 3:50 PM
>To: curl-library_at_lists.haxx.se
>Cc: Dan Fandrich <dan_at_coneharvesters.com>
>Subject: Re: Curl Configuration Weirdness for libz.a
>
>On Wed, Aug 30, 2023 at 03:27:34PM -0400, Randall via curl-library wrote:
>> ln: failed to create hard link '.libs/libcurl.lax/lt1-libz.a' =>
>> '/usr/coreutils/lib/libz.a': Cross-device link
>
>This looks like a bad assumption on the part of libtool that a hard link is
possible. I
>don't know why it's try to do this in the first place. Have you tried
updating libtool?
>What configure options and environment variables are you giving when this
happens?
Actually, there is no libtool on the platform, so upgrading will be
difficult. No LIB, INCLUDES, or other compile-related environment variables.
For the OpenSSL 3.0 build:
CFLAGS="-c99" CPPFLAGS="-Wnowarn=2040 -D_XOPEN_SOURCE_EXTENDED=1
-WIEEE_float -I/usr/coreutils/include -I/usr/local-ssl3.0/openssl/include"
LDFLAGS="/usr/coreutils/lib/libz.a -L/usr/coreutils/lib
-L/usr/local-ssl3.0/lib" ./configure --prefix=/usr/local-ssl3.0
--with-ssl=/usr/local-ssl3.0 --with-ca-path=/usr/local-ssl3.0/ssl/certs
--disable-pthreads --disable-threaded-resolver --enable-ipv6
--with-zlib=/usr/coreutils/lib/libz.a
For the OpenSSL 1.1.1 build:
CFLAGS="-c99" CPPFLAGS="-Wnowarn=2040 -D_XOPEN_SOURCE_EXTENDED=1
-I/usr/coreutils/include -I/usr/local-ssl1.1/include"
LDFLAGS="/usr/coreutils/lib/libz.a -L/usr/local-ssl1.1/lib
-L/usr/coreutils/lib -L/usr/local/lib" ./configure
--prefix=/usr/local-ssl1.1 --with-ssl=/usr/local-ssl1.1
--with-ca-path=/usr/local-ssl1.1/ssl/certs --disable-pthreads
--disable-threaded-resolver --enable-ipv6
--with-zlib=/usr/coreutils/lib/libz.a --with-openssl
--prefix=/usr/local-ssl1.1
--Randall
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2023-08-30