[xmlsec] Question: I have a problem with "xmlSecCryptoDLLoadLibrary"

John Belmonte john at neggie.net
Sat Apr 8 06:21:27 PDT 2006

cuzcueta at unl.edu.ar wrote:
> debian:/usr/share/doc/libxmlsec1-dev/examples# make
> -I/usr/local/include/xmlsec1 -I/usr/local/include/libxml2 -I/usr/local/include
> -L/usr/local/lib -ldl -lxmlsec1 -lxslt -lxml2 -lz -lpthread -lm  sign1.c   -o sign1
> error : Unknown IO error
> error : Unknown IO error
> ./sign1: relocation error: ./sign1: undefined symbol: xmlSecCryptoDLLoadLibrary
> Can you tell me what is the problem here?


>From /usr/share/doc/libxmlsec1-dev/README.Debian:

  Note that the library has a dynamic crypto engine loading feature,
  but I have not yet enabled it.

Looking at your compile line, it seems you modified the makefile.  The C
flags should be as follows:

  $ xmlsec1-config --cflags
  -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -I/usr/include/xmlsec1
  -I/usr/include/libxml2 -DXMLSEC_OPENSSL_097=1


More information about the xmlsec mailing list