Re: iconv, OS X and .dylib

From: Date: Tue, 04 Apr 2006 01:40:54 +0000
Subject: Re: iconv, OS X and .dylib
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-22658@lists.php.net to get a copy of this message
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


« previous php.internals (#22658) next »