Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22658 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11492 invoked by uid 1010); 4 Apr 2006 01:40:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 11477 invoked from network); 4 Apr 2006 01:40:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Apr 2006 01:40:56 -0000 X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.5 (sometimes 2.4) (4) Received: from ([204.11.219.139:58100] helo=lerdorf.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 9F/5B-19347-6AEC1344 for ; Mon, 03 Apr 2006 21:40:54 -0400 Received: from [192.168.11.5] (c-24-6-96-18.hsd1.ca.comcast.net [24.6.96.18]) (authenticated bits=0) by lerdorf.com (8.13.6/8.13.6/Debian-1) with ESMTP id k341ejEW012520; Mon, 3 Apr 2006 18:40:45 -0700 In-Reply-To: <442FCADA.8040908@bitflux.ch> References: <442FCADA.8040908@bitflux.ch> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: Cc: PHPdev Content-Transfer-Encoding: 7bit Date: Mon, 3 Apr 2006 18:40:54 -0700 To: Christian Stocker X-Mailer: Apple Mail (2.746.2) Subject: Re: [PHP-DEV] iconv, OS X and .dylib From: andrei@gravitonic.com (Andrei Zmievski) The problem is that SHLIB_SUFFIX_NAME is used for both bundles (.so) and dynamic libraries (.dylib) on Mac OS X. These are separate entities and need to be treated separately. We could probably set SHLIB_SUFFIX_NAME to .dylib on OSX and introduce an additional variable, something like BUNDLE_SUFFIX_NAME and set it to .so. The problem is in main.c where it registers PHP_SHLIB_SUFFIX: which define should it use? -Andrei On Apr 2, 2006, at 6:00 AM, Christian Stocker wrote: > Hi > > currently, iconv detection doesnt work on OS X (with 5_1), as it > looks for iconv.so instead of iconv.dylib. > > The patch by andrei from last week broke that. > > http://cvs.php.net/viewcvs.cgi/php-src/acinclude.m4? > r1=1.332.2.10&r2=1.332.2.11&pathrev=PHP_5_1 > > reverting it does help, but AFAICT andrei had his reasons to remove > that part. > > > chregu > > -- > christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich > phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 > http://www.bitflux.ch | christian.stocker@bitflux.ch | GPG 0x5CE1DECB > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php