Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43099 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42562 invoked from network); 18 Feb 2009 20:04:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2009 20:04:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=andrei@gravitonic.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=andrei@gravitonic.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain gravitonic.com from 209.85.200.170 cause and error) X-PHP-List-Original-Sender: andrei@gravitonic.com X-Host-Fingerprint: 209.85.200.170 wf-out-1314.google.com Received: from [209.85.200.170] ([209.85.200.170:48111] helo=wf-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/8E-05623-FB96C994 for ; Wed, 18 Feb 2009 15:04:16 -0500 Received: by wf-out-1314.google.com with SMTP id 23so59930wfg.26 for ; Wed, 18 Feb 2009 12:04:13 -0800 (PST) Received: by 10.142.11.20 with SMTP id 20mr1367134wfk.62.1234987453329; Wed, 18 Feb 2009 12:04:13 -0800 (PST) Received: from 64-71-7-207.static.wiline.com (64-71-7-207.static.wiline.com [64.71.7.207]) by mx.google.com with ESMTPS id 28sm617276wfg.51.2009.02.18.12.04.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 18 Feb 2009 12:04:11 -0800 (PST) Message-ID: <499C69B9.80701@gravitonic.com> Date: Wed, 18 Feb 2009 12:04:09 -0800 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: PHP internals References: <4995EB09.1090701@gravitonic.com> In-Reply-To: <4995EB09.1090701@gravitonic.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Extension dependency problems From: andrei@gravitonic.com (Andrei Zmievski) Anyone? Bueller? Andrei Zmievski wrote: > It seems that our PHP_ADD_EXTENSION_DEP() macro from acinclude.m4 does > not actually do any linking against the dependent extension despite the > comment in it: > > dnl Some systems require that we link $2 to $1 when building > > The consequence of this is that if the dependent extension (like > igbinary.so) is not loaded and you try to load your depending extension > (like my memcached.so), you'll get an error: > > php: symbol lookup error: > /usr/local/lib/php/20060613-debug/memcached.so: undefined symbol: > igbinary_serialize > > I asked Wez and he said that the only way to fix it is to do the actual > linking which is what he proposed a while back. Any reason why it hasn't > been done? > > -Andrei > >