Date: 09/26/00
- Next message: Chris Andrew: "[PHP-DEV] CGI Version"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] cvs.php.net"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 6868
User Update by: mrsizer <email protected>
Status: Open
Bug Type: Apache related
Description: libphp4.so: undefined symbol: zendtext
Further research:
It appears that libtool is not working.
The zendtext symbol is in zend_indent.lo and
zend_highlight.lo but not in LibZend.la
I found this out by modifying the code to have a zendtext in
it. That just resulted in other symbols which were not
defined. Adding LibZend_c.la to the generated Makefile
helped, but undefined symbols still kept cropping up.
BTW: this happens with 4.0.0, too. I thought falling back a
version might help - it didn't.
Previous Comments:
---------------------------------------------------------------------------
[2000-09-23 23:56:15] mrsizer <email protected>
Newly downloaded php-4.0.2
( ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql )
warned me that I had neither bison nor byacc.
make
make install
both clean
Apache 1.3.12
( ./configure --enable-module=most --enable-shared=max )
make
make install
both clean - served pages fine before the php make install
/usr/local/apache/bin/apachectl configtest
generates the libphp4.so: undefined symbol: zendtext error.
grepping the Zend directory, it appears to be a valid error, although why it didn't show up in the link I have no idea.
zend_indent.c and zend_highlight.c both contain an "extern zendtext char*;" declaration and a "#define zendtext ((char *) zend_get_zendtext(CLS_C))"
All other references are usage, not declarations or definitions (there is one "zendtext[i]++" in zend_indent.c which makes no sense, given the #define)
That extern char* is not, according to grep, defined anywhere.
Thanks,
- Mark R. Sizer
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6868
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Chris Andrew: "[PHP-DEV] CGI Version"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] cvs.php.net"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

