[xmlsec] unable to run sign1.c

Aleksey Sanin aleksey at aleksey.com
Tue May 29 21:26:48 PDT 2007


You should not set flags manually! Check this
page for instructions

http://www.aleksey.com/xmlsec/api/xmlsec-notes-compiling-unix.html

Aleksey

Umesh Chandak wrote:
> Hi,
> I still getting the same error even after runnig the make check. Also
> can you tell me #error is which type of directice which is giving me
> problem. I am not able to run ldd sign1 because I am getting that error
> at compile time only.
> 
> gcc -g -DUNIX_SOCKETS -o sign1 sign1.c
> -I/home/umeshc/XML-firewall/quicktree_1_0_0_drop2/trunk/src/libxml2/libxml2-2.6.26/libxml2-2.6.26-Linux-2.6.15.1/include/libxml2 -I/data/xmlsec1-1.2.10/INSTALL-XMLSEC//include/xmlsec1 -Iinclude -I. -I/data/openssl-0.9.8e/include -L/data/xmlsec1-1.2.10/INSTALL-XMLSEC//lib -lxmlsec1-openssl
> In file included from sign1.c:35:
> /data/xmlsec1-1.2.10/INSTALL-XMLSEC//include/xmlsec1/xmlsec/crypto.h:54:2: error: #error No crypto library defined
> sign1.c: In function ‘sign_file’:
> sign1.c:159: warning: assignment makes pointer from integer without a
> cast
> make: *** [sign1] Error 1
> 
> Thanks.
> Regards,
> Umesh
> 
> On Tue, 2007-05-29 at 21:20 -0700, Aleksey Sanin wrote:
>> Run 'ldd sign1' or 'ldd xmlsec1'
>>
>> Aleksey
>>
>> Umesh Chandak wrote:
>>> My LD_LIBRARY_PATH is set as export LD_LIBRARY_PATh=$LD_LIBRARY_PATH:
>>> $XMLSECCROOT/lib
>>>
>>> Umesh
>>> On Tue, 2007-05-29 at 21:16 -0700, Aleksey Sanin wrote:
>>>>> I am using FC5 with kernel 2.6.15.1
>>>> You might have xmlsec installed with OS. Make sure you
>>>> have correct LD_LIBRARY_PATH set.
>>>>
>>>> Aleksey
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> xmlsec mailing list
>>> xmlsec at aleksey.com
>>> http://www.aleksey.com/mailman/listinfo/xmlsec
> 



More information about the xmlsec mailing list