[xmlsec] xmlsec failing validation tests

Aleksey Sanin aleksey at aleksey.com
Fri May 24 09:33:09 PDT 2002


Looks like there is a problem on LibXML level. One of possible reasons is
library mismatch (xmlsec loads old/wrong version of LibXML2 libraries
when you are compiling it). I would suggest to do following:
    1) ungzip/untar xmlsec-*.tar.gz into new folder
    2) run the following commands and note the installation prefixes for 
both
    packages:
        rpm -ql libxml2-devel
        rpm -ql libxslt-devel
   3) ./configure --with-libxml=<libxml2-instl-prefix> 
 --with-libxslt=<libxslt-instl-prefix>
        make
        make check

Also I would strongly recommend to switch to OpenSSL 0.9.7. The 0.9.6 
support
will be dropped as soon as 0.9.7 will be officially released (probably 
next month).


Aleksey.
   



dheitmueller wrote:

>I have installed the xmlsec-0.0.5 source tree on my Mandrake 8.1 system.   It appears to compile fine, but it fails all the tests in the test suite with errors such as the following:
>
>validity warning: or: Error: failed to read XML file "./merlin-xmldsig-twenty-three/signature-enveloped-dsa.xml"
>
>I added some debug code, and found that the call to xmlCreateFileParserCtxt() in the xmlSecParseFile() in xmltree.c fails.
>
>I installed the xmlsec binary RPM, which appears to work fine.  It passes the tests found in the source tree.
>
>I had to install the following RPMS to get the xmlsec library installed:
>
>libopenssl0-devel-0.9.6c-2mdk
>openssl-0.9.6b-1mdk
>libopenssl0-0.9.6c-2mdk
>libxml2-2.4.21-1mdk
>libxml2-devel-2.4.21-1mdk
>libxslt-devel-1.0.17-2
>libxslt-1.0.17-2
>
>Has anyone seen this behavior before?  Any idea why the binary version of xmlsec 0.0.5 would work, but the version compiled from source would fail?
>
>Thanks in advance,
>
>Devin Heitmueller
>Senior Software Engineer
>Netilla Networks Inc
>
>_______________________________________________
>xmlsec mailing list
>xmlsec at aleksey.com
>http://www.aleksey.com/mailman/listinfo/xmlsec
>





More information about the xmlsec mailing list