[xmlsec] need help in installation
Rajesh B
rbatchu at osi-tech.com
Tue Nov 9 22:47:49 PST 2004
Hi,
I am working with libxml2-2.6.15 and xmlsec1-1.2.6 and openssl 0.9.6b.
I am facing some problems in installing the xmlsec and need your help.
I have used the CFLAGS option while configuring. Here is the command I have used.
./configure --with-openssl=/usr/local/ssl/include/openssl CFLAGS='-DXMLSEC_OPENSSL_096=1'
configure is completed well.
During "make" I am getting the following error.
-------------------------------------------------------
*** Warning: Linking the shared library libxmlsec1-openssl.la against the
*** static library /usr/local/ssl/include/openssl/lib/libcrypto.a is not portable!
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
gcc: /usr/local/ssl/include/openssl/lib/libcrypto.a: No such file or directory
make[3]: *** [libxmlsec1-openssl.la] Error 1
make[3]: Leaving directory `/root/xmlsec/xmlsec1-1.2.6/src/openssl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/xmlsec/xmlsec1-1.2.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/xmlsec/xmlsec1-1.2.6'
make: *** [all] Error 2
-------------------------------------------------------
As the openssl is available in the path "/usr/local/ssl/include/openssl/lib/", I have given the
option "--with-openssl=/usr/local/ssl/include/openssl" in the configure command.
And based on that it is searching for the file "/usr/local/ssl/include/openssl/lib/libcrypto.a"
in that directory itself. Where "libcrypto.a" is not under that path. It is available in my
machine under the path "/usr/local/ssl/lib/libcrypto.a".
Do you have any idea how to work it out ? I have used the "LDFLAGS='-L/usr/local/ssl/lib'"
flag in the configuration. But that does not solve the issue.
Thanks for your help.
Regards,
Rajesh B.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20041110/c3b69801/attachment-0002.htm
More information about the xmlsec
mailing list