#16413 [Com]: Apache Startup Failure: Undefined symbol "_mail_string"
| From: | hallstein at yahoo dot com | Date: | Mon, 28 Oct 2002 22:34:23 +0000 |
| Subject: | #16413 [Com]: Apache Startup Failure: Undefined symbol "_mail_string" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23602@lists.php.net to get a copy of this message | ||
ID: 16413
Comment by: hallstein@yahoo.com
Reported By: markscarbrough@hotmail.com
Status: No Feedback
Bug Type: IMAP related
Operating System: OpenBSD 3.0
PHP Version: 4.1.2
New Comment:
Forget it. It works now. I installed the imap-uw-4.7c2.tgz from
http://www.openbsd.org/2.8_packages/i386.html
..
Previous Comments:
------------------------------------------------------------------------
[2002-10-28 15:44:08] hallstein@yahoo.com
_mail_string
OPENBSD problem!
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?
I saw somewhere that it might be an ELF problem, but I still do not
understand why it works on PHP3. (no, i cannot use OpenBSD ports, coz I
have to many features added).
------------------------------------------------------------------------
[2002-06-29 01:00:07] php-bugs@lists.php.net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-06-11 04:56:13] karl.soulabaille@free.fr
Latest ports for OpenBSD 3.0 works now for me.
Don't ask me why :-)
------------------------------------------------------------------------
[2002-06-01 16:18:10] karl.soulabaille@free.fr
I have the same problem when compiling my own port in the same way but
using PHP 4.1.2. Precompiled packages work also fine for me.
(And may you see my bug report 17165 which appear to be near problem
(ie. libc-client.a)).
------------------------------------------------------------------------
[2002-05-28 13:06:21] derick@php.net
Is this still an issue with PHP 4.2.1?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16413
--
Edit this bug report at http://bugs.php.net/?id=16413&edit=1