Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21360 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48208 invoked by uid 1010); 1 Jan 2006 12:29:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 48192 invoked from network); 1 Jan 2006 12:29:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jan 2006 12:29:52 -0000 X-Host-Fingerprint: 212.55.154.24 relay4.ptmail.sapo.pt Linux 2.4/2.6 Received: from ([212.55.154.24:52890] helo=sapo.pt) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id DE/B3-34518-E3BC7B34 for ; Sun, 01 Jan 2006 07:29:51 -0500 Received: (qmail 7246 invoked by uid 0); 1 Jan 2006 12:29:47 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.157) by relay4 with SMTP; 1 Jan 2006 12:29:47 -0000 Received: (qmail 17662 invoked from network); 1 Jan 2006 12:29:47 -0000 X-AntiVirus: PTMail-AV 0.3.87.1 X-Virus-Status: Clean (0.00387 seconds) Received: from unknown (HELO pc07653) (nunoplopes@sapo.pt@[81.193.153.253]) (envelope-sender ) by mta7 (qmail-ldap-1.03) with SMTP for ; 1 Jan 2006 12:29:47 -0000 Message-ID: <002301c60ecf$105828b0$0100a8c0@pc07653> To: "Nuno Lopes" , "PHPdev" Cc: References: <006001c60d46$996df5b0$0100a8c0@pc07653> Date: Sun, 1 Jan 2006 12:29:51 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Subject: Re: [PHP-DEV] solaris iconv patch From: nlopess@php.net ("Nuno Lopes") Hi Again, First, Happy new year!! :) After reading some stuff, I must say that patch is not what we want, because with that patch I would have to run PHP with: LD_PRELOAD="/usr/local/lib/libiconv_plug.so" php So, I've cooked another patch, that really links to libiconv: http://mega.ist.utl.pt/~ncpl/php_libiconv_solaris.txt This patch also defines HAVE_LIBICONV when necessary, which it wasn't (thus breaking phpinfo()). Nuno ----- Original Message ----- > Hi, > > I've made a little patch to fix iconv extension build problems on Solaris. > The trick is to define LIBICONV_PLUG before loading the iconv.h header (so > that is doens't define iconv* stuff as libiconv*). > > Patch: http://mega.ist.utl.pt/~ncpl/php_iconv_solaris.txt > > > Nuno > > P.S.: there was some bug report about this, but I couldn't found the id