[xmlsec] Can't run xmlsec1 examples

Monica Lau mllau2004 at yahoo.com
Thu Oct 7 16:49:45 PDT 2004


Hi,
 
Thanks for your quick response!  Actually, I was compiling with OpenSSL 0.9.7, instead of 0.9.6b.  I fixed the issue by setting "--with-openssl=/usr/local/ssl" when I run configure.  
 
I tried to compile with OpenSSL 0.9.6b, but I get the follow error messages:

/bin/bash ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPACKAGE=\"xmlsec1\" -I../.. -I../../include -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -I/usr/local/ssl/include -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include/libxml2 -I/usr/local/include -g -O2 -c -o ciphers.lo ciphers.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPACKAGE=\"xmlsec1\" -I../.. -I../../include -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -I/usr/local/ssl/include -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include/libxml2 -I/usr/local/include -g -O2 -c ciphers.c -Wp,-MD,.deps/ciphers.TPlo -fPIC -DPIC -o .libs/ciphers.o
ciphers.c: In function `xmlSecOpenSSLEvpBlockCipherCtxUpdate':
ciphers.c:209: structure has no member named `final_used'
ciphers.c:210: structure has no member named `final'
ciphers.c:240: structure has no member named `final_used'
ciphers.c:241: structure has no member named `final'
ciphers.c:243: structure has no member named `final_used'
ciphers.c: In function `xmlSecOpenSSLEvpBlockCipherCtxFinal':
ciphers.c:388: structure has no member named `final_used'
ciphers.c:391: structure has no member named `final'
ciphers.c:393: structure has no member named `final'
ciphers.c:400: structure has no member named `final'
ciphers.c: In function `xmlSecOpenSSLEvpBlockCipherInitialize':
ciphers.c:491: warning: assignment makes pointer from integer without a cast
ciphers.c:494: warning: assignment makes pointer from integer without a cast
ciphers.c:497: warning: assignment makes pointer from integer without a cast
gmake[3]: *** [ciphers.lo] Error 1
gmake[3]: Leaving directory `/home/mlau/xmlsec1-1.2.6/src/openssl'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/mlau/xmlsec1-1.2.6/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/mlau/xmlsec1-1.2.6'
gmake: *** [all] Error 2

I tried with different xmlsec versions (1.2.3 up to 1.2.6), and they all have the same compilation errors.  The next version I tried was 1.1.0, and that worked.  Do the 1.2 versions support OpenSSL 0.9.6b?  If so, how I can fix the error messages above?

Thanks for your help!

Regards,
Monica

 

Aleksey Sanin <aleksey at aleksey.com> wrote:
Make sure that openssl libraries are accessible thru LD_LIBRARY_PATH.

Aleksey


		
---------------------------------
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20041007/d517ab22/attachment-0002.htm


More information about the xmlsec mailing list