curl-library
failure to statically link libcurl-7.36.0 to openssl 1.0.0d libraries on Solaris 10 on Intel
Date: Tue, 15 Apr 2014 19:44:29 +0000
Hello,
I receive the following error when I try to link to static libssl.a/libcrypto.a on Solaris 10/11 on Intel:
Text relocation remains referenced
against symbol offset in file
OPENSSL_ia32cap_P 0xff0 /export/home/sambuild/INSTALL/openssl-1.0.0d_static/lib/libcrypto.a(aes-x86_64.o)
OPENSSL_ia32cap_P 0x46c /export/home/sambuild/INSTALL/openssl-1.0.0d_static/lib/libcrypto.a(rc4-x86_64.o)
OPENSSL_ia32cap_P 0x529 /export/home/sambuild/INSTALL/openssl-1.0.0d_static/lib/libcrypto.a(rc4-x86_64.o)
OPENSSL_cpuid_setup 0x1 /export/home/sambuild/INSTALL/openssl-1.0.0d_static/lib/libcrypto.a(x86_64cpuid.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/sambuild/C_Tools/curl-7.36.0/lib
*** Error code 1
$ ./configure CFLAGS=-m64 -fPIC LDFLAGS=-fPIC -m64 --with-ssl=/export/home/sambuild/INSTALL/openssl-1.0.0d_static
--prefix=/home/sambuild/INSTALL/curl72_64_static
$> gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$> ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.497
Please advise.
Thank you,
Alona
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-04-15