Compiling on HP-UX

From: Date: Sat, 28 Oct 2000 14:04:45 +0000
Subject: Compiling on HP-UX
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-523@lists.php.net to get a copy of this message
I am trying to compile PHP and I get an error as follows: Making all in . make[1]: Entering directory `/zrtph036_appl/d01/home/web/build/php-4.0.3pl1' /bin/sh /d01/home/web/build/php-4.0.3pl1/libtool --silent --mode=link gcc -I. -I/d01/home/web/build/php-4.0.3pl1/ -I/d01/home/web/b uild/php-4.0.3pl1 -I/d01/home/web/build/php-4.0.3pl1/main -I/d01/home/web/build/php-4.0.3pl1/Zend -I/d01/home/web/build/php-4.0.3pl1 -I/u01/home/oracle/dist/8.1.6/rdbms/public -I/u01/home/oracle/dist/8.1.6/rdbms/demo -I/u01/home/oracle/dist/8.1.6/network/public -I /d01/home/web/build/php-4.0.3pl1/ext/xml/expat/xmltok -I/d01/home/web/build/php-4.0.3pl1/ext/xml/expat/xmlparse -I/d01/home/web/buil d/php-4.0.3pl1/TSRM -DXML_BYTE_ORDER=21 -g -O2 -o php -export-dynamic stub.lo libphp4.la /usr/bin/ld: Unsatisfied symbols: dlclose (code) dlerror (code) dlsym (code) collect2: ld returned 1 exit status make[1]: *** [php] Error 1 make[1]: Leaving directory `/zrtph036_appl/d01/home/web/build/php-4.0.3pl1' make: *** [all-recursive] Error 1 I have tried it both with HP's cc and I have installed GNU binutils and gcc. I have searched the archives and found a few references to problems with HP-UX, but none like this. I thought the problem may have been with HP's ld, but when I try to build that as part of the binutils and gcc, it tells me it is not supported in this configuration. I am using HP-UX 11.0 on a machine with multiple processors, if that makes any difference. Any help would be appreciated... -- Jesse

« previous php.install (#523) next »