<!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.1476" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am working with libxml2-2.6.15 and xmlsec1-1.2.6
and openssl 0.9.6b.</FONT></DIV>
<DIV><FONT face=Arial size=2>I am facing some problems in installing the xmlsec
and need your help.</FONT></DIV>
<DIV> </DIV>
<DIV>
<DIV><FONT face=Arial size=2>I have used the CFLAGS option while configuring.
Here is the command I have used.</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2> ./configure
--with-openssl=/usr/local/ssl/include/openssl
CFLAGS='-DXMLSEC_OPENSSL_096=1'</FONT></DIV>
<DIV><FONT face=Arial size=2>configure is completed well.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>During "make" I am getting the following error.
</FONT></DIV>
<DIV><FONT face=Arial
size=2>-------------------------------------------------------<BR>*** Warning:
Linking the shared library libxmlsec1-openssl.la against the<BR>*** static
library /usr/local/ssl/include/openssl/lib/libcrypto.a is not portable!<BR>gcc
-shared .libs/app.o .libs/bn.o .libs/ciphers.o .libs/crypto.o
.libs/digests.o .libs/evp.o .libs/hmac.o .libs/kw_aes.o .libs/kw_des.o
.libs/kt_rsa.o .libs/signatures.o .libs/symkeys.o .libs/x509.o
.libs/x509vfy.o -Wl,--rpath -Wl,/root/xmlsec/xmlsec1-1.2.6/src/.libs
-Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib
../.libs/libxmlsec1.so /usr/local/ssl/include/openssl/lib/libcrypto.a
/usr/local/lib/libxml2.so -lz -lpthread -lm -Wl,-soname
-Wl,libxmlsec1-openssl.so.1 -o .libs/libxmlsec1-openssl.so.1.2.6<BR>gcc:
/usr/local/ssl/include/openssl/lib/libcrypto.a: No such file or
directory<BR>make[3]: *** [libxmlsec1-openssl.la] Error 1<BR>make[3]: Leaving
directory `/root/xmlsec/xmlsec1-1.2.6/src/openssl'<BR>make[2]: ***
[all-recursive] Error 1<BR>make[2]: Leaving directory
`/root/xmlsec/xmlsec1-1.2.6/src'<BR>make[1]: *** [all-recursive] Error
1<BR>make[1]: Leaving directory `/root/xmlsec/xmlsec1-1.2.6'<BR>make: *** [all]
Error 2</FONT></DIV>
<DIV><FONT face=Arial
size=2>-------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>As the openssl is available in the path
"/usr/local/ssl/include/openssl/lib/", I have given the </FONT></DIV>
<DIV><FONT face=Arial size=2>option
"--with-openssl=/usr/local/ssl/include/openssl" in the configure
command.</FONT></DIV>
<DIV><FONT face=Arial size=2>And based on that it is searching for the file
"</FONT><FONT face=Arial
size=2>/usr/local/ssl/include/openssl/lib/libcrypto.a"</FONT></DIV>
<DIV><FONT face=Arial size=2>in that directory itself. Where "libcrypto.a" is
not under that path. It is available in my</FONT></DIV>
<DIV><FONT face=Arial size=2>machine under the path
"/usr/local/ssl/lib/libcrypto.a". </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Do you have any idea how to work it out ? I have
used the "LDFLAGS='-L/usr/local/ssl/lib'"</FONT></DIV>
<DIV><FONT face=Arial size=2>flag in the configuration. But that does not
solve the issue.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for your help.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Rajesh B.</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff
size=2></FONT> </DIV></FONT></DIV></BODY></HTML>