Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43035 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94458 invoked from network); 13 Feb 2009 21:50:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2009 21:50:09 -0000 Authentication-Results: pb1.pair.com header.from=andrei@gravitonic.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=andrei@gravitonic.com; spf=permerror; 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:1954] helo=wf-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/29-43210-01BE5994 for ; Fri, 13 Feb 2009 16:50:09 -0500 Received: by wf-out-1314.google.com with SMTP id 23so1422484wfg.26 for ; Fri, 13 Feb 2009 13:50:04 -0800 (PST) Received: by 10.143.4.11 with SMTP id g11mr1105263wfi.340.1234561804861; Fri, 13 Feb 2009 13:50:04 -0800 (PST) Received: from ?10.135.135.247? (64-71-7-200.static.wiline.com [64.71.7.200]) by mx.google.com with ESMTPS id 22sm2251524wfg.19.2009.02.13.13.50.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 13 Feb 2009 13:50:03 -0800 (PST) Message-ID: <4995EB09.1090701@gravitonic.com> Date: Fri, 13 Feb 2009 13:50:01 -0800 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: PHP internals Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Extension dependency problems From: andrei@gravitonic.com (Andrei Zmievski) 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