cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: ld: fatal: relocations remain against allocatable but non-writable sections

From: Richard Chen <richard_at_doubleprime.com>
Date: Tue, 17 Jun 2003 22:31:02 -0400

I have resolved this problem. It turned out that openssl
has to be built with the shared option:
        $ ./config shared
and one needs to run crle to set the dynamic library path.

Hope this will save someone else's time.

Richard

On Sun, Jun 15, 2003 at 03:08:43PM -0400, Richard Chen wrote:
> I am trying to install curl-7.10.5 on a solaris 7 box
> with gcc 2.95.2 installed. The commands
>
> $ ./configure --with-ssl=/usr/local/ssl && make
>
> leads to errors like these:
>
> ...
> inflate_mask 0x4c /usr/local/lib/libz.a(inffast.o)
> inflate_mask 0x54 /usr/local/lib/libz.a(inffast.o)
> inflate_mask 0xac /usr/local/lib/libz.a(inffast.o)
> inflate_mask 0x124 /usr/local/lib/libz.a(inffast.o)
> ld: fatal: relocations remain against allocatable but non-writable sections
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `libcurl.la'
> Current working directory /export/home/chenri/curl-7.10.5/lib
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> Current working directory /export/home/chenri/curl-7.10.5/lib
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
>
> I believe the problem is related with zlib so I upgraded zlib
> to zlib-1.1.4. But the same problem occurs. Then I disabled zlib:
>
> $ ./configure --with-ssl=/usr/local/ssl --without-zlib && make
>
> and all worked well. But I do want to have zlib feature enabled.
>
> Does anyone know why zlib-1.1.4 does not work with curl-7.10.5?
>
> Thanks
>
> Richard
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now! Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
>

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
Received on 2003-06-18