• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Compiling mod_WebObjecs on Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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?

Aloha,
Art

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

References: 
 >Compiling mod_WebObjecs on Leopard (From: Atli Páll Hafsteinsson <email@hidden>)

  • Prev by Date: OT: Looking for WO Consultant: Silicon Valley
  • Next by Date: Re: Compiling mod_WebObjecs on Leopard
  • Previous by thread: Compiling mod_WebObjecs on Leopard
  • Next by thread: Re: Compiling mod_WebObjecs on Leopard
  • Index(es):
    • Date
    • Thread