PHP 4.0 Bug #4832 Updated: Undefined symbol "_mail_string" -> apache startup failure

From: Date: Thu, 09 Nov 2000 00:42:26 +0000
Subject: PHP 4.0 Bug #4832 Updated: Undefined symbol "_mail_string" -> apache startup failure
Groups: php.dev 
Request: Send a blank email to php-dev+get-37487@lists.php.net to get a copy of this message
ID: 4832 Updated by: sniper Reported By: cjones@v-wave.com Status: Feedback Bug Type: *General Issues Assigned To: Comments: Could you please try latest snapshot from http://snaps.php.net to check whether it fixes this ? --Jani Previous Comments: --------------------------------------------------------------------------- [2000-08-31 11:42:38] sniper@php.net Some openbsd-guru could possibly check out that port (ftp://ftp.gsnig.org/pub/users/jakob/ports/php4.tar.gz) and maybe make the needed modifications into php4-cvs?? --Jani --------------------------------------------------------------------------- [2000-08-29 11:46:07] cjones@v-wave.com The OpenBSD port mentioned above compiles with some text relocation warnings, but runs fine. --------------------------------------------------------------------------- [2000-08-17 00:39:04] cjones@v-wave.com It continues in 4.0.1pl2. I'm going to test the PHP4 port for OpenBSD done by Jakob Schlyter (available at ftp://ftp.gsnig.org/pub/users/jakob/ports/php4.tar.gz), and will advise as necessary. From traffic on the OpenBSD lists, it appears as if 4.0.2 mostly works (with a few compilation warnings). --------------------------------------------------------------------------- [2000-08-08 22:41:50] waldschrott@php.net Please verify that it´s still happening using the latest version of PHP (release 4.0.1pl2 or CVS). --------------------------------------------------------------------------- [2000-06-05 23:48:29] cjones@v-wave.com I got PHP4 and configured it with the following arguments successfully: | [root@impulse conf]#./configure --with-apxs | --with-config-file-path=/var/www/conf --enable-safe-mode | --enable-track-vars --enable-magic-quotes --enable-bcmath | --enable-calendar --with-db2 --enable-ftp --with-imap --with-java | --with-ldap --with-mcal --with-mhash --with-pgsql --enable-trans-sid | --enable-memory-limit While compiling with LDFLAGS="-ldl" (as suggested by some messages in the OpenBSD-misc archives; I received the following when compiling without -ldl, as well), I received the following: | *** Warning: inter-library dependencies are not known to be supported. | *** All declared inter-library dependencies are being dropped. | *** The inter-library dependencies that have been dropped here will be | *** automatically added whenever a program is linked with this library | *** or is declared to -dlopen it. | ld: .libs/libphp4.lax/libsapi.al/mod_php4.lo: relocation must refer | to global symbol at 0xfab | ld: .libs/libphp4.lax/libsapi.al/mod_php4.lo: relocation must refer | to global symbol at 0xf4f | ld: .libs/libphp4.lax/libsapi.al/mod_php4.lo: relocation must refer | to global symbol at 0xcce | Making all in pear | [root@impulse php-4.0.0]# I then make-install'd without any errors. Upon restarting apache, I received the following error: | [root@impulse conf]#apachectl restart | /usr/sbin/apachectl restart: httpd not running, trying to start | /usr/libexec/ld.so: Undefined symbol "_mail_string" in | httpd:/usr/lib/apache/modules/libphp4.so | /usr/sbin/apachectl restart: httpd could not be started | [root@impulse conf]# I then configured PHP4 with only --with-apxs, and compiled cleanly, but received the same errors, so I don't think it's a problem in compiling one of the options. I have successfully had PHP3 run on the box with the same apache. Has anyone run into this before? Does anyone know any way to solve it? CJ --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=4832

« previous php.dev (#37487) next »