HP-UX: DL_UNLOAD error

From: Date: Mon, 30 Oct 2000 00:37:51 +0000
Subject: HP-UX: DL_UNLOAD error
Groups: php.install 
Request: Send a blank email to php-install+get-534@lists.php.net to get a copy of this message
Hi! On HP-UX 11.0 (pl 6/00) I am unable to compile apache 1.3.14 and php 4.0.3pl1 . Using cc and aCC, I am always stuck at DL_UNLOAD being an undefined symbol. I searched a couple of threads on phpbuilder and found a dozend questions regarding this issue. The only posted solution I found, however, was to check for RTLD_NOW/LAZY which seems to not apply to my case. I'm a bit puzzled now since I guess -ldl would at least solve the compiler error but why is a dynaloader needed when php is built as a static module for a static apache? I would really appreaciate someone shedding some light on this! TIA, Volker <=== src/modules cc -O -c -I./os/unix -I./include -DHPUX11 -I/opt/src/web/php-4.0.3pl1 -I/opt/src/web/php-4.0.3pl1/main -I/opt/src/web/php-4.0.3pl1/main -I/opt/src/web/php-4.0.3pl1/Zend -I/opt/src/web/php-4.0.3pl1/Zend -I/opt/src/web/php-4.0.3pl1/TSRM -I/opt/src/web/php-4.0.3pl1/TSRM -I/opt/src/web/php-4.0.3pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci modules.c cc -O -c -I./os/unix -I./include -DHPUX11 -I/opt/src/web/php-4.0.3pl1 -I/opt/src/web/php-4.0.3pl1/main -I/opt/src/web/php-4.0.3pl1/main -I/opt/src/web/php-4.0.3pl1/Zend -I/opt/src/web/php-4.0.3pl1/Zend -I/opt/src/web/php-4.0.3pl1/TSRM -I/opt/src/web/php-4.0.3pl1/TSRM -I/opt/src/web/php-4.0.3pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci buildmark.c cc -O -DHPUX11 -I/opt/src/web/php-4.0.3pl1 -I/opt/src/web/php-4.0.3pl1/main -I/opt/src/web/php-4.0.3pl1/main -I/opt/src/web/php-4.0.3pl1/Zend -I/opt/src/web/php-4.0.3pl1/Zend -I/opt/src/web/php-4.0.3pl1/TSRM-I/opt/src/web/php-4.0.3pl1/TSRM -I/opt/src/web/php-4.0.3pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci \ -o httpd buildmark.o modules.o modules/php4/libphp4.a modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -L/opt/libpng/lib -L/opt/zlib/lib -L/opt/gd/lib -L/opt/jpeg-6/lib -L/opt/freetype/lib -L/opt/mysql/lib/mysql -L/opt/gd/lib -L/opt/jpeg-6/lib -L/opt/freetype/lib -L/opt/mysql/lib/mysql -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lmysqlclient -lttf -ljpeg -lpng -lz -lgd -lm -lcrypt -lnsl -L/opt/jpeg-6/lib -ljpeg -lm -lpthread /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (buildmark.o) was detected. The linked output may not run on a PA 1.x system. /usr/ccs/bin/ld: Unsatisfied symbols: DL_UNLOAD (code) gmake[2]: *** [target_static] Error 1 gmake[2]: Leaving directory `/opt/src/web/apache_1.3.14/src' gmake[1]: *** [build-std] Error 2 gmake[1]: Leaving directory `/opt/src/web/apache_1.3.14' gmake: *** [build] Error 2 -- V. T. Mueller UCC Freiburg, Germany vtmue (at) uni-freiburg.de "A poor workman blames his tools."

« previous php.install (#534) next »