On Oct 30, 2007, at 11:21:43, Alex Fuller wrote:
Christopher Schultz-2 wrote:Uhhh... G5 is a 64-bit processor...Sorry, didn't see the G5 in there anywhere. Not that it matters. x86_64code still ain't gonna run. - -chrisIt is gonna run on 64-bit Intel Macs. As stated above I originally thoughtRichard was on an Intel Mac Pro.And to avoid confusion for the many MacBook Pro and Intel-based Mac Pro users out there, hopefully this thread will be useful and you won't put themoff trying -arch x86_64.It turns out in Richard's case he is on a G5 Mac Pro, so the fundamental problem is the same (32-bit code being built for a 64-bit application) butthe architecture flag is different.For the many G5 Mac Pro & iMac users out there with the same problem, the instructions above will work as long as instead of -arch x86_64 you use-arch pc64 Alex
I just built this in the ADE at Apple as an example of multiple architectures, what Mac machine wont this module work on?
c12.apple.com:/var/root/tomcat-connectors-1.2.25-src/native root# file apache-2.0/mod_jk.so
apache-2.0/mod_jk.so: Mach-O universal binary with 8 architecturesapache-2.0/mod_jk.so (for architecture ppc): Mach-O dynamically linked shared library ppc apache-2.0/mod_jk.so (for architecture ppc750): Mach-O dynamically linked shared library ppc750 apache-2.0/mod_jk.so (for architecture ppc970): Mach-O dynamically linked shared library ppc970 apache-2.0/mod_jk.so (for architecture ppc7400): Mach-O dynamically linked shared library ppc7400 apache-2.0/mod_jk.so (for architecture ppc64): Mach-O 64-bit dynamically linked shared library ppc64 apache-2.0/mod_jk.so (for architecture i386): Mach-O dynamically linked shared library i386 apache-2.0/mod_jk.so (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 apache-2.0/mod_jk.so (for architecture x86_128): Mach-O 128-bit dynamically linked shared library x86_128 (experimental)
c12.apple.com:/var/root/tomcat-connectors-1.2.25-src/native root# -- Dale
PGP.sig
Description: This is a digitally signed message part