Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22888 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66609 invoked by uid 1010); 19 Apr 2006 22:38:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 66594 invoked from network); 19 Apr 2006 22:38:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Apr 2006 22:38:33 -0000 X-Host-Fingerprint: 207.106.133.28 proof.pobox.com Linux 2.5 (sometimes 2.4) (4) Received: from ([207.106.133.28:60514] helo=proof.pobox.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 90/C4-19715-7EBB6444 for ; Wed, 19 Apr 2006 18:38:31 -0400 Received: from proof (localhost [127.0.0.1]) by proof.pobox.com (Postfix) with ESMTP id 4E7FBF3F75; Wed, 19 Apr 2006 18:38:28 -0400 (EDT) Received: from [192.168.1.3] (santa-anna-cuda1-68-70-221-115.lmdaca.adelphia.net [68.70.221.115]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by proof.sasl.smtp.pobox.com (Postfix) with ESMTP id CF2443F916; Wed, 19 Apr 2006 18:38:26 -0400 (EDT) Message-ID: <4446BBD2.2060206@pobox.com> Date: Wed, 19 Apr 2006 15:38:10 -0700 User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: Jon Cc: internals@lists.php.net References: <0D.72.19715.621B6444@pb1.pair.com> In-Reply-To: <0D.72.19715.621B6444@pb1.pair.com> X-Enigmail-Version: 0.93.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig34D7E63A0C250D2361F937EA" Subject: Re: [PHP-DEV] compiling a 64-bit PHP on a mac G5 From: brion@pobox.com (Brion Vibber) --------------enig34D7E63A0C250D2361F937EA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Jon wrote: > I'm using os X and 64-bit mysql on a G5 and I'm trying to compile > a 64-bit PHP but I seem to be having trouble with the libraries. [snip] > ... then it dies with this stuff in the config.log: >=20 > ld64 warning: in /usr/lib/libxml2.dylib, file does not contain requeste= d > architecture > ld64 warning: in /usr/lib/libz.dylib, file does not contain requested > architecture > ld64 warning: in /usr/lib/libiconv.dylib, file does not contain > requested architecture Most libraries on Mac OS X only ship as 32-bit. Since these are standard open-source components you could probably recomp= ile them and link against those instead of the system copies; but do you real= ly need to compile PHP as 64-bit in the first place? Unless you really want 64-bit integers in PHP for some reason, you could = simply link against the 32-bit MySQL libraries. (Install a 32-bit package in ano= ther directory, if they're not shipping them with the 64-bit server.) Communic= ation with the server happens over a socket, so you don't have to compile as th= e same arch as the server. -- brion vibber (brion @ pobox.com) --------------enig34D7E63A0C250D2361F937EA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFERrvSwRnhpk1wk44RAveWAJ93ney1F1ehNAjIymhwfdGBzBOpYgCfXgwg BCUXLsp2qc1pauM1vxE8Ll8= =UlgO -----END PGP SIGNATURE----- --------------enig34D7E63A0C250D2361F937EA--