RE: [PHP-INST] HP-UX: DL_UNLOAD error
| From: | MERBOUH Hicham | Date: | Tue, 31 Oct 2000 14:07:51 +0000 |
| Subject: | RE: [PHP-INST] HP-UX: DL_UNLOAD error | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-563@lists.php.net to get a copy of this message | ||
Salam,
I try : --with-apache=/opt/apache --with-apxs=/opt/apache/bin/apxs
i receive the following error :
--with-apache and --with-apxs cannot be used together
thanks.
-----Message d'origine-----
De : Jesse Swensen [mailto:jesse@swensens.net]
Envoyé : mardi 31 octobre 2000 13:54
À : MERBOUH Hicham; Paul Gardiner
Cc : PHP-Install
Objet : Re: [PHP-INST] HP-UX: DL_UNLOAD error
Looks like you forgot the --with-apache=[path] directive.
--
Jesse
> From: MERBOUH Hicham <Merbouh@ocpgroup.com>
> Date: Tue, 31 Oct 2000 13:38:44 -0000
> To: Paul Gardiner <Paul.Gardiner@BarleyChalu.co.uk>, Jesse Swensen
> <jesse@swensens.net>
> Cc: PHP-Install <php-install@lists.php.net>
> Subject: RE: [PHP-INST] HP-UX: DL_UNLOAD error
>
> Salam,
> I have made the change and it's Worked great. But i have another
> problem:
> I try to compile now with mysql and PHP4.
> 1- ./configure --with-apxs=/opt/apache/bin/apxs
> --with-config-file-path=/opt/apache/etc/httpd.conf
> --enable-versioning --with-mysql --enable-debug=no
> --enable-memory-limit=yes --enable-tracks-vars
> 2- make
> 3- make install
> here i receive the following errors :
> apxs:Error: file libs/libphp4.sl is not a DSO
> any suggestions
>
> thanks.
>
> -----Message d'origine-----
> De : Paul Gardiner [mailto:Paul.Gardiner@BarleyChalu.co.uk]
> Envoyé : lundi 30 octobre 2000 16:14
> À : Jesse Swensen
> Cc : PHP-Install
> Objet : Re: [PHP-INST] HP-UX: DL_UNLOAD error
>
>
> Hi Jesse,
>
> I believe this has been fixed in CVS but you can do the following mod
which
> should sort this problem out.
>
> Modify the Zend/zend_extensions.c file (line144?) from
>
> static void zend_extension_startup(zend_extension *extension)
> {
> if (extension->startup) {
> if (extension->startup(extension)!=SUCCESS) {
> DL_UNLOAD(extension->handle);
> }
> }
> }
>
> to
>
> static void zend_extension_startup(zend_extension *extension)
> {
> #if ZEND_EXTENSIONS_SUPPORT
> if (extension->startup) {
> if (extension->startup(extension)!=SUCCESS) {
> DL_UNLOAD(extension->handle);
> }
> }
> #endif
> }
>
> and it *should* compile and run ok :o)
>
> Best regards,
> - Paul -
>
> ----- Original Message -----
> From: "Jesse Swensen" <jesse@swensens.net>
> To: "V. T. Mueller" <vtmue@uni-freiburg.de>; <php-install@lists.php.net>
> Sent: Monday, October 30, 2000 2:10 PM
> Subject: Re: [PHP-INST] HP-UX: DL_UNLOAD error
>
>
>> 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
>>
>>
>> --
>> 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
>>
>>
>
>
> --
> 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