Aleksey,

The problem was not a wrong library. The problem was that only the dynamic 
libraries in xmlsec are built with -fPIC. Once I added -fPIC to the CFLAGS, 
then the build worked.

This appears to only be a problem on 64-bt Linux. 32-bit Linux and 32-bit 
Solaris worked for me without needed to add -fPIC or -pic.

Thanks,
-Tom


Thomas Floodeen, Jr.
Mentor Graphics BSD
720.494.1133


-----Original Message-----
From: Aleksey Sanin [mailto:[email protected]] 
Sent: Wednesday, October 12, 2011 11:32 AM
To: Floodeenjr, Thomas
Cc: [email protected]
Subject: Re: [xmlsec] 64-bit Linux link error

Looks like you are picking up the wrong library somewhere. Check your command 
line.

Aleksey

On 10/12/11 10:23 AM, Floodeenjr, Thomas wrote:
> relocation R_X86_64_32 against `a local symbol' can not be used when 
> making a shared object; recompile with -fPIC
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to