/usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0) file: -lSystem is not an object file (not allowed in a library)
. This may be remedied by installing a fresh version of XCode Tools 2.1.DYLD_LIBRARY_PATH
to the eventual lib path into which you'll be installing the packages you're building (e.g. /opt/shibboleth-sp/lib
)MACOSX_DEPLOYMENT_TARGET
to your OS X version (e.g. 10.3 or 10.4)XERCESCROOT
to the root of the unpacked Xerces-C tarballconfigure
Commands./configure --disable-static --without-ca-bundle --enable-thread --prefix=/opt/shibboleth-sp
)./configure --disable-static --disable-doxygen --prefix=/opt/shibboleth-sp
../include/log4cpp/Manipulator.hh
contains an extra semi-colon (;
) on line 29 that needs to be removed before building log4cpp../runConfigure -p macosx -c gcc -x g++ -r pthread -n native -b 32 -P /opt/shibboleth-sp
./configure --without-xalan --prefix=/opt/shibboleth-sp
./configure --with-curl=/opt/shibboleth-sp --with-log4cpp=/opt/shibboleth-sp --prefix=/opt/shibboleth-sp -C
./configure --with-saml=/opt/shibboleth-sp --with-log4cpp=/opt/shibboleth-sp --enable-apache-13 --with-apxs=/usr/sbin/apxs --prefix=/opt/shibboleth-sp -C
liboncrpc.dylib
must be used instead of the Apple version. This is automatically handled by the configure
script, but does result in various warnings about duplicate symbols while compiling and linking. This is normal and does not appear to prevent the proper symbols from being found at run time.siterefresh
tool currently depends on, you must enable the "native" Xerces NetAccessor on this platform. This is done with the option -n native
when running runConfigure
DYLD_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/sbin/apachectl
)./opt/shibboleth-sp/lib/libshib-target.dylib:/opt/shibboleth-sp/lib/libshib.dylib
(substituting the actual path of these libraries, if not in the location shown). The simplest thing to do is place a command to set and export this variable in /usr/sbin/apachectl
such as:
export DYLD_INSERT_LIBRARIES=/opt/shibboleth-sp/lib/libshib-target.dylib:/opt/shibboleth-sp/lib/libshib.dylib