Bug #17627 Updated: Compiling PHP with apxs2 causes inter-library dependency problem

From: Date: Thu, 06 Jun 2002 13:50:08 +0000
Subject: Bug #17627 Updated: Compiling PHP with apxs2 causes inter-library dependency problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9644@lists.php.net to get a copy of this message
ID: 17627 Updated by: johan@host24.com Reported By: johan@host24.com -Status: Open +Status: Closed Bug Type: Apache2 related Operating System: Linux PHP Version: 4.2.1 New Comment: OK, the latest CVS snapshot (dated 2002/06/06) from http://snaps.php.net works like a charm! Thanks! Previous Comments: ------------------------------------------------------------------------ [2002-06-06 09:13:11] johan@host24.com My last comment is slightly incorrect - it should read as follows: Please suggest alternative ./configure parameters, since it appears as if PHP 4 and Apache 2 are not yet usable on the same server. ------------------------------------------------------------------------ [2002-06-06 09:09:55] johan@host24.com I've searched the previous bug reports, but none describes the exact problem I'm getting, nor supplied any solution I could apply succesfully. These are the steps I've followed (all on a clean server - previous versions of Apache and PHP were removed): [1] Apache 2.0.36 was configured with the following parameters: ./configure --prefix=/usr/local/apache --enable-so --enable-mods-shared=all The subsequent make and make install worked just fine, and Apache started up without problems. [2] PHP was then configured with the following: ./configure --with-apxs2=/path-to-apxs --prefix=/usr/local/apache All other settings were removed in an attempt to isolate the problem. The subsequent make resulted in the following warning: *** 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. Doing a "make install" works - the libphp4.so file is copied to the correct location and the httpd.conf file is modified correctly. But Apache won't start: Starting httpd: Syntax error on line 263 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp4.so into server: /usr/local/apache/modules/libphp4.so: undefined symbol: __dn_expand Please suggest alternative ./configure parameters, since it appears as if PHP 4 and Apache are not yet usable on the same server. rgrds, Johan Pretorius ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17627&edit=1

« previous php.bugs (#9644) next »