cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Richard Chen <richard_at_doubleprime.com>
Date: Sun, 15 Jun 2003 15:08:43 -0400

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
Received on 2003-06-15