recompile php client for MAC osx lion help
I am just trying to do some prototyping with PHP and Couchbase 2.0.
I am getting the following error in trying to load the PHP client lib on my Mac.
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/couchbase.so' - dlopen(/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/couchbase.so, 9): no suitable image found. Did find:\n\t/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/couchbase.so: mach-o, but wrong architecture in Unknown on line 0
a Lipo shows it's "Non-fat file: couchbase.so is architecture: x86_64" but seems to clash with the PHP install I am running [Serverpress].
Is there somewhere I can get very clear instruction on how to recompile with the right architecture? [don't usually work at that level] Or is there a client version that is compiled the way I would need it to be?