shibboleth-dev - Re: Minor error(s) in MacPort Shibboleth 2.0
Subject: Shibboleth Developers
List archive
- From: Lukas Haemmerle <>
- To:
- Subject: Re: Minor error(s) in MacPort Shibboleth 2.0
- Date: Fri, 28 Mar 2008 11:42:47 +0100
- Organization: SWITCH - Serving Swiss Universities
Shibd started fine, but when loading mod_shib, Apache complains:
httpd: Syntax error on line 484 of /etc/apache2/httpd.conf: Syntax error on line 2 of /private/etc/apache2/other/shibboleth.conf: Syntax error on line 13 of /opt/local/etc/shibboleth/apache22.config: Cannot load /opt/local/lib/shibboleth/mod_shib_22.so into server: dlopen(/opt/local/lib/shibboleth/mod_shib_22.so, 10): no suitable image found. Did find:\n\t/opt/local/lib/shibboleth/mod_shib_22.so: mach-o, but wrong architecture
Ok, thanks to my colleague Kaspar Brand, we found a fix for this. The problem is that mod_shib was only compile for i386 and not as a universal binary.
Since Apache (lipo -info /usr/sbin/httpd -> ppc7400 ppc64 i386 x86_64) for some reason always starts in 64bit mode, this causes problems with the 32bit mod_shib module.
Removing the 64bit part of httpd with:
lipo /usr/sbin/httpd -remove x86_64 -output /usr/sbin/httpd.new
makes Apache and Shib start fine (with some CoreFoundation erros that probably can be ignored).
Nevertheless, it would of course be great to have mod_shib be compiled as universal binary.
Lukas
--
SWITCH
Serving Swiss Universities
--------------------------
Lukas Haemmerle, Software Engineer, Security
Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland
phone +41 44 268 15 64, fax +41 44 268 15 68
,
http://www.switch.ch
- Minor error(s) in MacPort Shibboleth 2.0, Lukas Haemmerle, 03/28/2008
- Re: Minor error(s) in MacPort Shibboleth 2.0, Lukas Haemmerle, 03/28/2008
- RE: Minor error(s) in MacPort Shibboleth 2.0, Scott Cantor, 03/28/2008
- Re: Minor error(s) in MacPort Shibboleth 2.0, Lukas Haemmerle, 03/28/2008
- Re: Minor error(s) in MacPort Shibboleth 2.0, Alan Brenner, 03/28/2008
- Re: Minor error(s) in MacPort Shibboleth 2.0, Scott Cantor, 03/29/2008
- Re: Minor error(s) in MacPort Shibboleth 2.0, Kaspar Brand, 03/31/2008
- RE: Minor error(s) in MacPort Shibboleth 2.0, Scott Cantor, 03/31/2008
- Re: Minor error(s) in MacPort Shibboleth 2.0, Kaspar Brand, 03/31/2008
- RE: Minor error(s) in MacPort Shibboleth 2.0, Scott Cantor, 03/31/2008
- RE: Minor error(s) in MacPort Shibboleth 2.0, Scott Cantor, 03/31/2008
- RE: Minor error(s) in MacPort Shibboleth 2.0, Scott Cantor, 03/31/2008
- Message not available
- Re: Minor error(s) in MacPort Shibboleth 2.0, Tom Vilot, 03/31/2008
- Re: Minor error(s) in MacPort Shibboleth 2.0, Kaspar Brand, 03/31/2008
- Re: Minor error(s) in MacPort Shibboleth 2.0, Lukas Haemmerle, 03/28/2008
- RE: Minor error(s) in MacPort Shibboleth 2.0, Scott Cantor, 03/28/2008
- Re: Minor error(s) in MacPort Shibboleth 2.0, Lukas Haemmerle, 03/28/2008
Archive powered by MHonArc 2.6.16.