DSO Errors

From: Date: Tue, 27 Feb 2001 15:06:34 +0000
Subject: DSO Errors
Groups: php.install 
Request: Send a blank email to php-install+get-2215@lists.php.net to get a copy of this message
I am running UnixWare7 v7.1.1, Apache 1.3.14 and trying to add PHP 4.0.4pl1. A static build using the following options works great: Apache: ./configure --prefix=/usr/local/apache \ --activate-module=src/modules/php4/libphp4.a PHP: ./configure --with-apache=../../apache/apache_1.3.14 \ --with-oci8=/orahome --without-mysql \ --enable-track-vars However, I need to be able to also use servlets, so I need to run with shared library support. Compiling Apache with the following options works correctly: ./configure --prefix=/usr/local/apache --enable-shared=max \ Compiling PHP with the following options gives no errors anywhere in the process and builds libphp4.so: ./configure --with-apxs=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local/apache/conf \ --enable-track-vars --without-mysql \ However, when I restart Apache, I get the following error: Syntax error on line 224 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: dynamic linker: /usr/local/apache/bin/httpd: relocation error: symbol not found: php_startup_extensions; referenced from: /usr/local/apache/libexec/libphp4.so ./apachectl start: httpd could not be started php_startup_extensions is in main.c. If I do some strange things, such as including all of main.c in internal_functions.c, functions from main.c resolve, but I get errors from other functions in php../main. It appears that internal_functions.c is the only source file being used from php../main. All of the lo files (ex. main.lo) that are referenced in the compile for internal_functions.c are 0 length. Any suggestions would be appreciated! Bill Cheek

« previous php.install (#2215) next »