Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14417 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83604 invoked by uid 1010); 22 Jan 2005 19:27:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 83523 invoked from network); 22 Jan 2005 19:27:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jan 2005 19:27:41 -0000 X-Host-Fingerprint: 195.197.172.116 gw02.mail.saunalahti.fi Linux 2.4/2.6 Received: from ([195.197.172.116:45699] helo=gw02.mail.saunalahti.fi) by pb1.pair.com (ecelerity HEAD (r4105:4106)) with SMTP id C0/38-17227-B29A2F14 for ; Sat, 22 Jan 2005 14:27:40 -0500 Received: from localhost.localdomain (YZCLXVIII.dsl.saunalahti.fi [85.76.34.69]) by gw02.mail.saunalahti.fi (Postfix) with ESMTP id AFD07A2073; Sat, 22 Jan 2005 21:27:36 +0200 (EET) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id j0MJRYpD006762; Sat, 22 Jan 2005 21:27:34 +0200 Received: from localhost (jani@localhost) by localhost.localdomain (8.12.8/8.12.8/Submit) with ESMTP id j0MJRT8X006758; Sat, 22 Jan 2005 21:27:33 +0200 X-Authentication-Warning: localhost.localdomain: jani owned process doing -bs Date: Sat, 22 Jan 2005 21:27:29 +0200 (EET) Reply-To: Jani Taskinen To: Andrei Zmievski Cc: internals@lists.php.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [PHP-DEV] Latest phpize.in change screws up shared extensions on Mac OS X From: sniper@iki.fi (Jani Taskinen) On Thu, 20 Jan 2005, Andrei Zmievski wrote: > What was the reasoning behind the 1.15->1.16 patch for phpize.in? Your > comments say: > - Changed phpize not to require automake and libtool. > - Fixed build system to always use bundled libtool files. a) To only require autoconf to be installed to be able to use phpize b) Prevent problems with different libtool versions > This had an unfortunate effect of building shared extensions on Mac OS X as > .dylib shared libraries, instead of dlopen()'able bundles. The bundled libtool > is way old and does not handle this properly, while the new ones do. Thus we'll nuke the libtool usage in linking on Macosx. Patch to acinclude.m4 for this solution is here: http://www.php.net/~jani/patches/acinclude.m4.macosx-shared-modules.patch (or someone backports the patches from newer libtools to the bundled files =) Reason not to bundle newer libtool: It requires buggy autoconf 2.5x. --Jani