libphp3.so: undefined symbol: get_field_val
| From: | Petr Gruz | Date: | Fri, 22 Jan 1999 01:46:01 +0000 |
| Subject: | libphp3.so: undefined symbol: get_field_val | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3679@lists.php.net to get a copy of this message | ||
Hello,
I am experiencing exactly the same problem as you described in the enclosed
mail. I am using apache 1.3.4 with shared core and all modules as DSO
including SSL and PHP_3.0.6:
# /usr/local/sbin/apachectl start
Syntax error on line 235 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/libexec/apache/libphp3.so into server:
/usr/libexec/apache/libp
hp3.so: undefined symbol: get_field_val
/usr/local/sbin/apachectl start: httpd could not be started
I wondered if you got some solution to this problem by now and could let me
know (I would like to stay with the DSO version of PHP module).
Thanks in advance,
Peter
From: Andy.Doyle@thomson.com
Operating system: Linux 2.0.34 (Redhat 5.1) on Intel
PHP version: 3.0.5
PHP Bug Type: Dynamic loading related
Bug description: Apache fails to load libphp3.so
I tried to build the php3 module using the DSO support in apache (version
1.3.3), but I was unable to run the server with the dynamically loaded
module. The server reported a unresolved dependency in the php shared
object.
Testing the configuration gives the following:
> apachectl configtest
load /usr/local/apache/libexec/libphp3.so into server:
/usr/local/apache/libexec/libphp3.so: undefined symbol: get_field_val
When I run ldd on libphp3 I don't get any unresolved dependencies.
I configured php with --with-shared-apache=... and it worked fine. I
eventually got apache to build using the --activate-module=..
and --enable-shared=php3 options, and I could start the server ok *without*
the AddModule line for libphp3.so. With the AddModule line for php3 included
the server would not restart (see above). I rebuilt apache using a static
configuration for php and it appears to work ok.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net