Hello
   My name is Ernesto. I have a problem using the .c code.

debian:/usr/share/doc/libxmlsec1-dev/examples# ls
binary.dat         encrypt3.c        sign1.c         verify3.c
decrypt1.c         encrypt3-doc.xml  sign1-res.xml   verify4-bad-res.xml
decrypt2.c         encrypt3-res.xml  sign1-tmpl.xml  verify4-bad-tmpl.xml
decrypt3.c         Makefile          sign2.c         verify4.c
deskey.bin         Makefile.w32      sign2-doc.xml   verify4-res.xml
encrypt1.c         mywin32make.bat   sign2-res.xml   verify4-tmpl.xml
encrypt1-res.xml   README            sign3.c         xkms-server.c
encrypt1-tmpl.xml  rootcert.pem      sign3-doc.xml   xmldsigverify.c
encrypt2.c         rsacert.pem       sign3-res.xml
encrypt2-doc.xml   rsakey.pem        verify1.c
encrypt2-res.xml   rsapub.pem        verify2.c

debian:/usr/share/doc/libxmlsec1-dev/examples# make
gcc -g -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1
-I/usr/local/include/xmlsec1 -I/usr/local/include/libxml2 -I/usr/local/include
-DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO=\"openssl\" -DUNIX_SOCKETS  -g
-L/usr/local/lib -ldl -lxmlsec1 -lxslt -lxml2 -lz -lpthread -lm  sign1.c   -o 
sign1
.
.
.
gcc -g -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1
-I/usr/local/include/xmlsec1 -I/usr/local/include/libxml2 -I/usr/local/include
-DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO=\"openssl\" -DUNIX_SOCKETS  -g
-L/usr/local/lib -ldl -lxmlsec1 -lxslt -lxml2 -lz -lpthread -lm  xkms-server.c 
 -o xkms-server

debian:/usr/share/doc/libxmlsec1-dev/examples# ls
binary.dat         encrypt2-doc.xml  sign1           verify2
decrypt1           encrypt2-res.xml  sign1.c         verify2.c
decrypt1.c         encrypt3          sign1-res.xml   verify3
decrypt2           encrypt3.c        sign1-tmpl.xml  verify3.c
decrypt2.c         encrypt3-doc.xml  sign2           verify4
decrypt3           encrypt3-res.xml  sign2.c         verify4-bad-res.xml
decrypt3.c         Makefile          sign2-doc.xml   verify4-bad-tmpl.xml
deskey.bin         Makefile.w32      sign2-res.xml   verify4.c
encrypt1           mywin32make.bat   sign3           verify4-res.xml
encrypt1.c         README            sign3.c         verify4-tmpl.xml
encrypt1-res.xml   rootcert.pem      sign3-doc.xml   xkms-server
encrypt1-tmpl.xml  rsacert.pem       sign3-res.xml   xkms-server.c
encrypt2           rsakey.pem        verify1         xmldsigverify
encrypt2.c         rsapub.pem        verify1.c       xmldsigverify.c


debian:/usr/share/doc/libxmlsec1-dev/examples# ./sign1 sign1-tmpl.xml rsakey.pem
> sign1-res.xml
error : Unknown IO error
error : Unknown IO error
./sign1: relocation error: ./sign1: undefined symbol: xmlSecCryptoDLLoadLibrary


Can you tell me what is the problem here?


Thank you, very much

PD: sorry for my ingles 


_______________________________________________
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to