5.1.6 install on Apache 2.2.3 - _efree and _emalloc undefined in shared library...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




  A quick check - is this a known problem?

  I can compile and use php fine, but when I try to link libphp5.so
  into the apache httpd process, it tells me there are some undefined
  symbols. These functions (_emalloc also - see below) are implemented
  in the PHP/Zend/zend_alloc.c, but aren't finding their way into the
  shared library.

  Am I not building php correctly? Is there some incantation on the
  ./configure I am missing?


[root@pebbles bin]# uname -a
Linux pebbles.xxx.xxx.com 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686 i686 i386 GNU/Linux
[root@pebbles bin]# ./apachectl -v
Server version: Apache/2.2.3
Server built:   Sep  5 2006 12:43:15
[root@pebbles bin]# php -v
PHP 5.1.6 (cli) (built: Aug 31 2006 15:26:39)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
[root@pebbles bin]# ./apachectl restart
httpd: Syntax error on line 54 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol: _efree
[root@pebbles bin]# nm ../modules/libphp5.so | grep ' _e'
         U _ecalloc
00018b18 A _edata
         U _efree
         U _emalloc
00018f90 A _end
         U _erealloc
         U _estrdup
         U _estrndup
[root@pebbles bin]#

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux