Hi Aleksey,

changes in the xmlsec 1.0.2 release in src/openssl/x509.c cause a link error on Solaris OS
(I have tested Solaris 7 and 9 using gcc 2.95.3). On Linux this error does not occur.


Please have a look at the compile output I got:

gcc -g -O2 -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_XKMS=1 -o .libs/xmlsec1 xmlsec.o crypto.o cmdline.o ../src/openssl/.libs/libxmlsec1-openssl.so -L/net/solaris/openssl0.9.7/lib -L/net/solaris/libxml2-2.5.7/lib ../src/.libs/libxmlsec1.so /net/solaris/libxml2-2.5.7/lib/libxml2.so -lpthread -lm -lsocket -lnsl -lcrypto -R/net/solaris/xmlsec1-1.0.1/lib -R/net/solaris/libxml2-2.5.7/lib
Undefined first referenced
symbol in file
setenv ../src/openssl/.libs/libxmlsec1-openssl.so
unsetenv ../src/openssl/.libs/libxmlsec1-openssl.so
ld: fatal: Symbol referencing errors. No output written to .libs/xmlsec1
collect2: ld returned 1 exit status


I have checked Solaris documentation for this functions and it seems like 'setenv' and 'unsetenv' are not existant on Solaris OS.
Does anybody else using Solaris have this problem?
Do you have a clue of how to solve this problem?


Thanks

Matthias


_______________________________________________ xmlsec mailing list [EMAIL PROTECTED] http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to