...
- Add
/opt/shibboleth-sp/lib
to the environment variableDYLD_LIBRARY_PATH
.Code Block export DYLD_LIBRARY_PATH="/opt/shibboleth-sp/lib:$DYLD_LIBRARY_PATH"
- For Mac OS X 10.4, the Apache processes require that the
DYLD_INSERT_LIBRARIES
environment variable point to/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:Code Block export DYLD_INSERT_LIBRARIES=/opt/shibboleth-sp/lib/libshib-target.dylib:/opt/shibboleth-sp/lib/libshib.dylib
- If Apache 2.0.x will be using PHP, read this section. Portions of the
libphp4
Apache module are written in C++, as is the Shibboleth SP. There is a known conflict on Unix-based platforms between the PHP extensionslibpspell.so
andlibsablot.so
which will manifest itself as segmentation faults when starting Apache. If a site wants to uselibphp4.so
and Shibboleth at the same time, then one of the following may be done:- Remove the options
--with-pspell
and--with-xslt-sablot
from PHP's configuration; - Rebuild these two modules using the same version of GCC that was used to compile Shibboleth.
- Remove the options
...
At this point, you should have a fully functional SP, but before it can be tested, you'll need to configure it to interoperate with an !IdP. Many federations will provide these for their community, and TestShib is available for anyone to test with.%COMMENT%