Re: Compiling mod_WebObjecs on Leopard
Re: Compiling mod_WebObjecs on Leopard
- Subject: Re: Compiling mod_WebObjecs on Leopard
- From: Art Isbell <email@hidden>
- Date: Mon, 25 Aug 2008 10:01:04 -1000
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 architecture My machine is a intel dualcore MacBook Pro and the build script sets: -arch ppc -arch ppc64 -arch i386 -arch x86_64 Tryed to set it to only -arch x86_64 or -arch i386 gives the same error.
$ lipo -info /usr/sbin/httpd Architectures 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.so Architectures 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?
|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden