Re: HP-UX: DL_UNLOAD error
| From: | Jesse Swensen | Date: | Mon, 30 Oct 2000 14:10:10 +0000 |
| Subject: | Re: HP-UX: DL_UNLOAD error | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-541@lists.php.net to get a copy of this message | ||
I am having the same issue. If you find a solution, please share.
Thanks,
--
Jesse
> From: "V. T. Mueller" <vtmue@uni-freiburg.de>
> Date: Mon, 30 Oct 2000 01:37:51 +0100 (MET)
> To: php-install@lists.php.net
> Subject: [PHP-INST] HP-UX: DL_UNLOAD error
>
>
> 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."
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net