I've been racking my brains on this all day and I can't see the problem,
but I'm sure it's right in front of my nose.

Here are my *configure* options:

./configure --without-xalan --disable-static --prefix=/opt/shibboleth-sp
--with-xerces=/opt/shibboleth-sp --with-openssl=/opt/bitnami/common

When I run *make* it fails trying to build the tools (e.g. xtest, which is
the first tool it tries to build, but if I skipt xtest it fails on others
like c14n too).

The specific build command that fails is:

g++ -Wall -O2 -DNDEBUG -pthread -DXSEC_LIBRARY_BUILD -o .libs/xtest xtest.o
 -L/opt/shibboleth-sp/lib ./.libs/libxml-security-c.so
-L/opt/bitnami/common/lib /opt/shibboleth-sp/lib/libxerces-c.so -lnsl
-lpthread -lm -lcrypto -lssl -pthread -Wl,-rpath -Wl,/opt/shibboleth-sp/lib

The error I get is a bunch of undefined references like this:

/opt/shibboleth-sp/lib/libxerces-c.so: undefined reference to `operator
delete(void*)@GLIBCXX_3.4'

This makes me think that the linker is unable to find libstdc++.so.  Or,
maybe libxerces-c.so is built to the wrong version of libstdc++.

However, I used *readelf* to confirm that the presence of the symbol in the
libxerces symbol table.  I also used *ldd* to confirm the matching symbol
is present in my libstdc++.so.  Finally I confirmed that libstdc++.so is
version 6 and is present in /opt/bin/bitnami/common/lib, which is mentioned
on the g++ command.

Any ideas what I might be doing wrong?

Jake

Reply via email to