cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

RE: curl 7.20.1 - build failure on SolarisX 86_64

From: Alona Rossen <arossen_at_opentext.com>
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
/usr/local/ssl_64/lib/libcrypto.a(x86_64cpuid.o)

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

collect2: ld returned 1 exit status

gmake[2]: *** [libcurl.la] Error 1

 

 

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

 

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

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

port//home/sambuild/curl72_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++
--enable-shared

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,

Alona

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-06-23

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET