Re: note 9454 added to Installation on UNIX systems

From: Date: Sat, 04 Nov 2000 00:05:31 +0000
Subject: Re: note 9454 added to Installation on UNIX systems
Groups: php.notes 
Request: Send a blank email to php-notes+get-7374@lists.php.net to get a copy of this message
Do submit this to bugs.php.net so the PHP-DEV list will see it. Otherwise it may not be noticed. --- cary@elocale.com wrote: > Unless you have magical powers (or maybe you just > have a clue about these things) you will be unable > to compile PHP > > (4.0.3pl1) as a DSO for Apache on HP-UX (11). You > will get the following error when running make > install: > > ---------------------------------------- > *** 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. > /opt/apache/bin/apxs -i -a -n php4 > libs/libphp4.sl > apxs:Error: file libs/libphp4.sl is not a DSO > *** Error exit code 1 > > Stop. > *** Error exit code 1 > > Stop. > ---------------------------------------- > > > I was only able to install PHP must as a static > module, and only after doing the following: > 1. Install GCC (I could not get HP ANSI C to compile > it) > 2. Install Gnu binutils > 3. Modify the zend_extension_startup function > defined in the Zend/zend_extensions.c file > (preprocessor definitions added): > > ---------------------------------------- > static void zend_extension_startup(zend_extension > *extension) > { > #if ZEND_EXTENSIONS_SUPPORT /* this line added > */ > if(extension->startup) { > if(extension->startup(extension)!=SUCCESS) { > DL_UNLOAD(extension->handle) > } > } > #endif /* this line added */ > } > ---------------------------------------- > > Without adding these preprocessor lines you will get > the following error when running make install on > Apache (after PHP is > > already built): > > ---------------------------------------- > /usr/ccs/bin/ld: Unsatisfied symbols: > DL_UNLOAD (code) > collect2: ld returned 1 exit status > *** Error exit code 1 > > Stop. > *** Error exit code 1 > > Stop. > *** Error exit code 1 > > Stop. > ---------------------------------------- > > Thanks to Lutz Jaenicke > (Lutz.Jaenicke@iee.TU-Berlin.DE) for this > information, who also reports that a bug report has > been filed for this. > > http://www.php.net/manual/install.unix.php > > > -- > PHP Notes Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-notes-unsubscribe@lists.php.net > For additional commands, e-mail: > php-notes-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > ===== --- Jesus M. Castagnetto (jcastagnetto@yahoo.com) __________________________________________________ Do You Yahoo!? From homework help to love advice, Yahoo! Experts has your answer. http://experts.yahoo.com/

« previous php.notes (#7374) next »