XERCESCROOT
to the root of the unpacked Xerces-C tarballconfigure
Commands $ OpenSSL: (just use the standard ports version)
$ libcurl: (use the standard ports version), or use =./configure --disable-static --without-ca-bundle --enable-thread --prefix=/opt/shibboleth-sp=)
$ log4cpp: ./configure --disable-static --disable-doxygen --prefix=/opt/shibboleth-sp
$ Xerces-C: ./runConfigure -p freebsd -c gcc -x g++ -r pthread -b 32 -P /opt/shibboleth-sp
$ XML-Security-C: ./configure --without-xalan --prefix=/opt/shibboleth-sp
$ OpenSAML: ./configure --with-curl=/opt/shibboleth-sp --with-log4cpp=/opt/shibboleth-sp --prefix=/opt/shibboleth-sp -C
$ Shibboleth: ./configure --with-saml=/opt/shibboleth-sp --with-log4cpp=/opt/shibboleth-sp --enable-apache-20 --with-apxs=/usr/local/sbin/apxs --prefix=/opt/shibboleth-sp -C
liboncrpc.so
must be used instead of the BSD version. This is automatically handled by the configure
script.oncrpc/rpc/rpc.h
and oncrpc/xdr_rec.c
for these simple fixes. The rest of the code compiled cleanly./etc/libmap.conf
file to remap things:
libc_r.so.5 libpthread.so.1 # Everything that uses 'libc_r' libc_r.so libpthread.so # now uses 'libpthread'
LD_LIBRARY_PATH
to the lib path containing the dependencies and Shibboleth libraries (e.g. /opt/shibboleth-sp/lib=). This is required both in the script that starts the =shibd
daemon and when starting Apache (so you might put it in =/usr/local/sbin/apachectl=).