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

From: Date: Thu, 06 Jun 2002 13:09:56 +0000
Subject: Bug #17627: Compiling PHP with apxs2 causes inter-library dependency problem
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9635@lists.php.net to get a copy of this message
From: johan@host24.com Operating system: Linux PHP version: 4.2.1 PHP Bug Type: Apache2 related Bug description: Compiling PHP with apxs2 causes inter-library dependency problem 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 bug report at http://bugs.php.net/?id=17627&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17627&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17627&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17627&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17627&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17627&r=support Expected behavior: http://bugs.php.net/fix.php?id=17627&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17627&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17627&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17627&r=globals

« previous php.bugs (#9635) next »