hi
when you compile php have you some warnning ?
and see your ldconfig for lib C
alex
when you compile php have you some warnning ?
and see your ldconfig for lib C
alex
----- Message d'origine ----
De : Paul G. Brown <pbrown1@xxxxxxxxxx>
À : php-install@xxxxxxxxxxxxx
Envoyé le : Mercredi, 6 Septembre 2006, 9h07mn 29s
Objet : 5.1.6 install on Apache 2.2.3 - _efree and _emalloc undefined in shared library...
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]#
De : Paul G. Brown <pbrown1@xxxxxxxxxx>
À : php-install@xxxxxxxxxxxxx
Envoyé le : Mercredi, 6 Septembre 2006, 9h07mn 29s
Objet : 5.1.6 install on Apache 2.2.3 - _efree and _emalloc undefined in shared library...
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]#
- Follow-Ups:
- References:
- Prev by Date: 5.1.6 install on Apache 2.2.3 - _efree and _emalloc undefined in shared library...
- Next by Date: Help building oci8 module on Solaris-10 x86 with PHP 4.4.2?
- Previous by thread: 5.1.6 install on Apache 2.2.3 - _efree and _emalloc undefined in shared library...
- Next by thread: Re : [PHP-INSTALL] 5.1.6 install on Apache 2.2.3 - _efree and _emalloc undefined in shared library...
- Index(es):