Well, obviously from the error the linker doesn't think that openssl was compiled with -fPIC

On 2/16/11 11:23 AM, Floodeenjr, Thomas wrote:
Hello,

I am attempting to build xmlsec on Red Hat 5u5 x64. I get this error:

/usr/bin/ld:
/cob/eng_infra/Build/xmlsec1-1.2.16/../openssl-1.0.0a/export/rhel564/lib
/libcrypto.a(x86_64cpuid.o): relocation R_X86_64_PC32 against
`OPENSSL_cpuid_setup' can not be used when making a shared object;
recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
gmake[3]: *** [libxmlsec1-openssl.la] Error 1
gmake[3]: Leaving directory
`/cob/eng_infra/Build/xmlsec1-1.2.16/xmlsec1-1.2.16/src/openssl'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/cob/eng_infra/Build/xmlsec1-1.2.16/xmlsec1-1.2.16/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/cob/eng_infra/Build/xmlsec1-1.2.16/xmlsec1-1.2.16'
gmake: *** [all] Error 2

Both OpenSSL and XMLSEC are built with -m64 and -fPIC.

Is there a solution for this?

Thanks,
-Tom

Thomas Floodeen, Jr.
Mentor Graphics BSD
720.494.1133

_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to