[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 
        rpm -ql libxml2-devel
        rpm -ql libxslt-devel
   3) ./configure --with-libxml=<libxml2-instl-prefix> 
        make check

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


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:
>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

More information about the xmlsec mailing list