<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>I tried with many different ways to compile xmlsec for AIX 5.2<BR>using GCC
3.3.2 and I am not able to get it working with OpenSSL 0.9.7 or 0.9.8.<BR>I
tried (among other tries) :<BR>- compile it using openssl 0.9.7 precompiled by
IBM (both shared and static)<BR>- using openssl 0.9.8 compiled from source with
gcc (no shared only static since the<BR>configure refuse to make a shared
version)<BR>- compiled with shared xor static option<BR>- using special option
--enable-crypto-dl=no and --enable-apps-crypto-dl=no or not<BR><BR>Whatever I
tried, it is broken :<BR>- when using 0.9.7 : error during compile on x509vfy.c
line 594 structure has no member<BR>named 'depth'<BR>- when using nothing static
(crypto-dl not specified), it compiles ok but check goes
only<BR>failed<BR> I looked at the log and the reason is it
cannot load the libraries xmlsec-openssl.so.<BR> Note that it
only compiles libxmlsec[-openssl].a and not '.so' , which I suppose
is<BR>correct on AIX.<BR> Of course, PATH, LIBPATH,
LD_LIBRARY_PATH have in first place the right place<BR> for
the libraries or binaries.<BR> During the compile, it shows a
warning :<BR> Warning: Linking the shared library
libxmlsec1-openssl.la against the static library<BR>.../lib/libcrypto.a is not
portable!<BR><BR>- when using static, it does not compiled and complain about
not COFF libraries<BR>(crypto-dl=no)<BR> Or it just core
dumped when running the check if it goes until the end of<BR>compile.(crypto-dl
not set).<BR><BR>Note that I was able to compile openssl, libxml and libxslt
with no problem<BR>and the test (check or equivalent) are all ok.<BR><BR>Any
Ideas ?<BR><BR>Frederic<BR></DIV></BODY></HTML>