santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Rousse <>
Subject linking error when building xml-security-c with xalan support
Date Fri, 20 Jul 2018 10:36:28 GMT

I'm unable to build xml-security-c with xalan support, as I'm facing a 
linking error:
/bin/sh ../libtool  --tag=CXX   --mode=link g++     -Wall -O2 -g -pipe 
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
--param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic 
-O2 -DNDEBUG -pthread  -Wl,-z,relro  -o xsec-xtest 
tools/xtest/xsec_xtest-xtest.o -lxerces-c 
-lxalan-c    -lcrypto

undefined reference to 

undefined reference to 

I'm not a C++ expert, but if the linker tries to resolve symbols in 
xalan library using xerces 3.2 namespace, does it means than the actual 
dependency is not just "xalan >= 1.11", but "xalan >= 1.11, build 
against xerces >= 3.2" ?

This happens on a Centos 7.5 (gcc 4.8.5), using vanilla CentOS packages 
excepted for the custom Xerces 3.2 build.

Guillaume Rousse
Pôle SSI

Tel: +33 1 53 94 20 45

View raw message