php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13013 libphp4.so: undefined symbol: zendtext
Submitted: 2001-08-28 22:23 UTC Modified: 2001-10-24 01:09 UTC
From: x_ysd at yahoo dot com Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.6 OS: FreeBSD 4.2-RELEASE
Private report: No CVE-ID: None
 [2001-08-28 22:23 UTC] x_ysd at yahoo dot com
Hi,
  This is Stone Yu. When I running php 4.0.6, I got some error messages :

% sudo /www/apache-1.3.20/bin/apachectl start
Password:
Syntax error on line 232 of /www/apache-1.3.20/conf/httpd.conf:
Cannot load /www/apache-1.3.20/libexec/libphp4.so into server: /www/apache-1.3.20/libexec/libphp4.so: Undefined symbol "zendtext"
/www/apache-1.3.20/bin/apachectl start: httpd could not be started

O.S. : FreeBSD 4.2-RELEASE
Apache version : 1.3.20 + mod_ssl-2.8.4-1.3.20(both with DSO[max] mode)
compiler : gcc 2.95.2

  I install apache + mod_ssl first, then configure and install php with DSO mode, here's my configure parameter :

./configure --with-apxs=/www/apache-1.3.20/bin/apxs --with-config-file-path=/www/apache-1.3.20/conf --with-mysql=/usr/local/mysql --enable-sysvsem --enable-sysvshm --with-xml --with-mod_charset --enable-force-cgi-redirect --enable-inline-wwwimization --with-openssl=/usr/local --enable-track-vars --with-bz2 --enable-ftp --with-gdbm=/usr/local --with-db2 --with-jpeg-dir --with-tiff-dir --with-xpm-dir --with-ttf --with-mm --disable-posix

  I also found the old php version(4.0.2) has the same bugs(bug no. #6664 & #6868), but I can't find any solution for it.
  Any suggestion will be nice, thanks a lot.

with Best Regards,
--
  Stone Yu

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-29 09:43 UTC] sniper@php.net
Does this happen with latest CVS snapshot:

http://snaps.php.net/

 [2001-08-30 20:08 UTC] sniper@php.net
User feedback:
--------------

No. The latest CVS snapshot fix this problem, but
have a new one  :)

% sudo /www/apache-1.3.20/bin/apachectl start
Syntax error on line 232 of
/www/apache-1.3.20/conf/httpd.conf:
Cannot load /www/apache-1.3.20/libexec/libphp4.so into
server: /www/apache-1.3.20/libexec/libphp4.so:
Undefined symbol "pcre_malloc"
                    ^^^^^^^^^^^
/www/apache-1.3.20/bin/apachectl start: httpd could
not be started


---------------

Next time, use the web interface to reply.
Also, what was the configure line used this time?
You're most likely doing something wrong so please 
include all steps you made.


 [2001-08-31 09:07 UTC] sniper@php.net
Please read this email carefully. You will find the
link to the reply page in the end.

Also, using the latest snapshot and by doing these steps:

# ./configure --with-apxs=/www/apache-1.3.20/bin/apxs
# make clean ; make ; make install

Does it work then?

(note: Get fresh sources first)

--Jani

 [2001-09-01 11:21 UTC] x_ysd at yahoo dot com
Dear sniper :

  Thanks for ur nice help. But I have a bad news : It still the same error messages like before :

sudo /www/apache-1.3.20/bin/apachectl start
Password:
Syntax error on line 232 of /www/apache-1.3.20/conf/httpd.conf:
Cannot load /www/apache-1.3.20/libexec/libphp4.so into server: /www/apache-1.3.20/libexec/libphp4.so: Undefined symbol "pcre_malloc"
/www/apache-1.3.20/bin/apachectl start: httpd could not be started

  I also try the latest php snapshot. Any idea ?

  BTW, I reply this by web, thanks for ur remind.

with Best Regards,
--
  Stone Yu
 [2001-10-20 23:15 UTC] sniper@php.net
Please try the latest CVS snapshot now.

--Jani

 [2001-10-23 22:22 UTC] x_ysd at yahoo dot com
Dear Sir :

  Thanks for your suggestion. But I had upgrade my system to FreeBSD 4.4-Stable, can work fine now. So maybe the FBSD 4.2-R didn't compatible with php-4.0.6 ?

  Sorry for inconvenience.

W/R,
Stone Yu
 [2001-10-24 01:09 UTC] sniper@php.net
I don't remember anyone else reporting this problem.
And as it works for you now, let's close this.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 12:01:28 2024 UTC