Re: Extension dependency problems
| From: | Andrei Zmievski | Date: | Wed, 18 Feb 2009 20:04:09 +0000 |
| Subject: | Re: Extension dependency problems | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43099@lists.php.net to get a copy of this message | ||
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