cURL / Mailing Lists / curl-library / Single Mail


RE: curl 7.20.1 - build failure on SolarisX 86_64

From: Alona Rossen <>
Date: Wed, 23 Jun 2010 13:14:38 -0400



Hello All:



Build of 64-bit version of libcurl fails with the following error :

Text relocation remains referenced

    against symbol offset in file

OPENSSL_cpuid_setup 0x1

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

collect2: ld returned 1 exit status

gmake[2]: *** [] Error 1



Config.log is not attached because it was rejected by moderator.


$ ./configure CFLAGS=-m64 -fPIC LDFLAGS=-m64 -fPIC -Bsymbolic LIBS=-ldl

-libssh2=/export/home/sambuild/ssh2_64 --with-ssl=/usr/local/ssl_64



/export/home/sambuild/curl-7.20.1> ld -V

ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.497


/export/home/sambuild/curl-7.20.1> gcc -v

Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs

Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++

Thread model: posix

gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)


Please notice that 32-bit completes successfully. Both 32- and 64-bit of
libcurl -7.16.1 complete successfully with the same libssl on this box.


Thank you,


List admin:
Received on 2010-06-23