On Aug 24, 2008, at 11:41 PM, Atli Páll Hafsteinsson wrote:
I am trying set up mod_WebObjects on my Leopard dev machine, compiling the .so works fine but when apache tryes to load the module it complains:8/25/08 9:38:23 AM org.apache.httpd[95028] httpd: Syntax error on line 484 of /private/etc/apache2/httpd.conf: Syntax error on line 2 of /private/etc/apache2/other/webobjects.conf: Cannot load /usr/ libexec/apache2/mod_WebObjects.so into server: dlopen(/usr/libexec/ apache2/mod_WebObjects.so, 10): no suitable image found. Did find:\n \t/usr/libexec/apache2/mod_WebObjects.so: mach-o, but wrong architectureMy machine is a intel dualcore MacBook Pro and the build script sets: -arch ppc -arch ppc64 -arch i386 -arch x86_64Tryed to set it to only -arch x86_64 or -arch i386 gives the same error.
$ lipo -info /usr/sbin/httpdArchitectures in the fat file: /usr/sbin/httpd are: ppc7400 ppc64 i386 x86_64
$ lipo -info /System/Library/WebObjects/Adaptors/Apache2.2/ mod_WebObjects.so Architectures in the fat file: /System/Library/WebObjects/Adaptors/ Apache2.2/mod_WebObjects.so are: ppc7400 ppc64 i386 x86_64
$ lipo -info /usr/libexec/apache2/mod_ssl.soArchitectures in the fat file: /usr/libexec/apache2/mod_ssl.so are: ppc7400 ppc64 i386 x86_64
Maybe the architectures of the Apache executable, httpd, and the loadable modules must agree exactly. Have you compared the architectures of the httpd executable and existing loadable modules on your MacBook Pro?
Aloha, Art
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
