RE: Curl Configuration Weirdness for libz.a

2023-09-01 Thread Randall via curl-library
On Friday, September 1, 2023 2:39 PM, Dan Fandrich wrote: >On Fri, Sep 01, 2023 at 01:53:27PM -0400, rsbec...@nexbridge.com wrote: >> Slight change, please. The i386 should be x86 (and eventually x86_64 >> when I get the 64-bit builds working). > >i386 is a historical tag that basically means

Re: Curl Configuration Weirdness for libz.a

2023-09-01 Thread Dan Fandrich via curl-library
On Fri, Sep 01, 2023 at 01:53:27PM -0400, rsbec...@nexbridge.com wrote: > Slight change, please. The i386 should be x86 (and eventually x86_64 when I > get the 64-bit builds working). i386 is a historical tag that basically means 32-bit Intel x86 architecture these days. We should probably

RE: Curl Configuration Weirdness for libz.a

2023-09-01 Thread Randall via curl-library
On Wednesday, August 30, 2023 7:43 PM, Dan Fandrich wrote: >On Wed, Aug 30, 2023 at 06:08:38PM -0400, rsbec...@nexbridge.com wrote: >> Unfortunately, the packaging team for the platform did not help on this one. zlib.h >is in the /usr/coreutils/include directory, the zlib.a, zlib.so,

Re: Curl Configuration Weirdness for libz.a

2023-08-31 Thread Dan Fandrich via curl-library
On Thu, Aug 31, 2023 at 01:50:07PM -0400, rsbec...@nexbridge.com wrote: > On Thursday, August 31, 2023 1:41 PM, Dan Fandrich wrote: > >On Thu, Aug 31, 2023 at 11:09:58AM -0400, Jeffrey Walton via curl-library > wrote: > >> I think you should change strategies. You should use sed to change > >>

Re: Curl Configuration Weirdness for libz.a

2023-08-31 Thread Jeffrey Walton via curl-library
On Thu, Aug 31, 2023 at 1:41 PM Dan Fandrich via curl-library wrote: > > On Thu, Aug 31, 2023 at 11:09:58AM -0400, Jeffrey Walton via curl-library > wrote: > > I think you should change strategies. You should use sed to change > > references from -lz to libz.a (and friends). > > While that would

RE: Curl Configuration Weirdness for libz.a

2023-08-31 Thread Randall via curl-library
On Thursday, August 31, 2023 1:41 PM, Dan Fandrich wrote: >On Thu, Aug 31, 2023 at 11:09:58AM -0400, Jeffrey Walton via curl-library wrote: >> I think you should change strategies. You should use sed to change >> references from -lz to libz.a (and friends). > >While that would work, devs shouldn't

Re: Curl Configuration Weirdness for libz.a

2023-08-31 Thread Dan Fandrich via curl-library
On Thu, Aug 31, 2023 at 11:09:58AM -0400, Jeffrey Walton via curl-library wrote: > I think you should change strategies. You should use sed to change > references from -lz to libz.a (and friends). While that would work, devs shouldn't need to do this. curl's configure is simply doing the wrong

Re: Curl Configuration Weirdness for libz.a

2023-08-31 Thread Jeffrey Walton via curl-library
On Thu, Aug 31, 2023 at 10:49 AM Randall via curl-library wrote: > > On Wednesday, August 30, 2023 7:43 PM, Fandrich wrote: > > [...] > >If you can confirm that behaviour, then IMHO, configure should be changed > to stop > >doing that. If pkg-config has successfully found zlib, then configure >

RE: Curl Configuration Weirdness for libz.a

2023-08-31 Thread Randall via curl-library
On Wednesday, August 30, 2023 7:43 PM, Fandrich wrote: >On Wed, Aug 30, 2023 at 06:08:38PM -0400, rsbec...@nexbridge.com wrote: >> Unfortunately, the packaging team for the platform did not help on this one. zlib.h >is in the /usr/coreutils/include directory, the zlib.a, zlib.so, zlib.so.1.2.11

Re: Curl Configuration Weirdness for libz.a

2023-08-30 Thread Dan Fandrich via curl-library
On Wed, Aug 30, 2023 at 06:08:38PM -0400, rsbec...@nexbridge.com wrote: > Unfortunately, the packaging team for the platform did not help on this one. > zlib.h is in the /usr/coreutils/include directory, the zlib.a, zlib.so, > zlib.so.1.2.11 are in /usr/coreutils/lib (which collide). The zlib.pc

RE: Curl Configuration Weirdness for libz.a

2023-08-30 Thread Randall via curl-library
On Wednesday, August 30, 2023 5:56 PM, Dan Fandrich wrote: >On Wed, Aug 30, 2023 at 05:03:34PM -0400, rsbec...@nexbridge.com wrote: >> Actually, there is no libtool on the platform, so upgrading will be >> difficult. No LIB, INCLUDES, or other compile-related environment variables. > >Then it will

RE: Curl Configuration Weirdness for libz.a

2023-08-30 Thread Randall via curl-library
On Wednesday, August 30, 2023 5:56 PM, Dan Fandrich wrote: >On Wed, Aug 30, 2023 at 05:03:34PM -0400, rsbec...@nexbridge.com wrote: >> Actually, there is no libtool on the platform, so upgrading will be >> difficult. No LIB, INCLUDES, or other compile-related environment variables. > >Then it will

Re: Curl Configuration Weirdness for libz.a

2023-08-30 Thread Dan Fandrich via curl-library
On Wed, Aug 30, 2023 at 05:03:34PM -0400, rsbec...@nexbridge.com wrote: > Actually, there is no libtool on the platform, so upgrading will be > difficult. No LIB, INCLUDES, or other compile-related environment variables. Then it will be using the built-in libtool, which should be fairly recent.

RE: Curl Configuration Weirdness for libz.a

2023-08-30 Thread Randall via curl-library
>-Original Message- >From: curl-library On Behalf Of Dan Fandrich >via curl-library >Sent: Wednesday, August 30, 2023 3:50 PM >To: curl-library@lists.haxx.se >Cc: Dan Fandrich >Subject: Re: Curl Configuration Weirdness for libz.a > >On Wed, Aug 30, 2023 a

Re: Curl Configuration Weirdness for libz.a

2023-08-30 Thread Dan Fandrich via curl-library
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

Curl Configuration Weirdness for libz.a

2023-08-30 Thread Randall via curl-library
Hi Curl Team, I am building curl 8.2.1 for NonStop and received the following message: *** Warning: Trying to link with static lib archive /usr/coreutils/lib/libz.a. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if