#19219 [Opn]: Cannot build with-informix for Apache DSO

From: Date: Wed, 06 Nov 2002 15:22:59 +0000
Subject: #19219 [Opn]: Cannot build with-informix for Apache DSO
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-24206@lists.php.net to get a copy of this message
ID: 19219 User updated by: jerrysmith@directvinternet.com Reported By: jerrysmith@directvinternet.com Status: Open Bug Type: Informix related Operating System: HPUX 11.0 PHP Version: 4.2.2 New Comment: IMHO this problem is related to the make file that is included with the PHP that builds the module. This make file is including (erroneously) a static library. Yes if I run the build WITHOUT informix the PHP module works and the Apache can render the test page. I have been using the esql on HPUX for a few years now to write esql-C dynamically generated webpages..see www.cosworthvega.com Previous Comments: ------------------------------------------------------------------------ [2002-11-06 03:31:08] cvb@clausvb.de @sniper "this really is not PHP bug but libtool one." I don't know if it's a libtool bug or a bug within the IfxCSDK, but imho it's defenitly no bug within PHP, so I would close this bug. It could be an user error, too, because installing PHP with Ifx is tricky. We had to install two different IfxCSDK, to get it work. Regards, Claus ------------------------------------------------------------------------ [2002-11-06 03:23:54] cvb@clausvb.de I am not sure if I can offer help, but since I installed INFORMIX IDS on a HPUX once and I have a running PHP-INFORMIX enviroment on a standard INTEL server (Primergy I think). You say: "NOTE: As stated before, if I build a php without the informix module, all works as it should. If I build the informix configuration, the build completed, but with the following warnings:" To get this straight: "lib/esql -lixgls -lnsl_s -lV3 -lcl -lsec" -lixgls has something to do with "Global Language Support" something I only encountered with INFORMIX (perhaps I am wrong), in this case a GLS parameter (-lixgls) for ESQL Doesn't it make sense that "-lV3" is something within ESQL, too? So this problem could exist in your IfxCSDK. Which version do you use? I suppose it was released for HPUX 11.0? Best regards, Claus ------------------------------------------------------------------------ [2002-09-28 00:18:04] jerrysmith@directvinternet.com FWIW...There are tons on references on comp.sys.hpux regarding "thread local storage". The all basically state that one must statically include the libcl.2 in the a.out. I must assume here that in our case here, a.out is lib4php.sl. However, I know very little about Make and makefiles. I dont have a clue as to what to edit to make this happen. ------------------------------------------------------------------------ [2002-09-26 23:43:04] jerrysmith@directvinternet.com HELP! I'm dying here. If I don't get this running I may loose a consulting contract! Whats the process to get a developer to take a look here? ------------------------------------------------------------------------ [2002-09-09 19:50:31] jerrysmith@directvinternet.com ANYONE ELSE UP TO THE CHALLENGE??? ...here is the contents of the ext dir of PHP for Informix [hpserv02] ls .deps Makefile ifx.c ifx.lo libs.mk stub.c .libs Makefile.in ifx.dsp libinformix.la php_informix.h CREDITS config.m4 ifx.ec libphpifx.a setup.stub ..the .lib DIR contains.. [hpserv02] ls -al .libs -rw-rw-rw- 1 root sys 321104 Sep 9 19:55 libinformix.al lrwxrwxrwx 1 root sys 17 Sep 9 19:55 libinformix.la -> ../libinformix.la ALSO.. [hpserv02] [hpserv02] ls /usr/informix/lib esql iasft07b.sl libixasf.a libtasf.a netstub.a sqlexecd iasfs07a.sl libasf.a libixasf.sl libtasf.sl sqlexec sqlexecd.old iasfs07b.sl libasf.sl libnetstub.sl netlib.a sqlexec.old sqlrm [hpserv02] [hpserv02] ls /usr/informix/lib/esql checkapi.o igl4a303.sl isqlt07a.sl libgls.a libixgen.sl libixos.a libos.sl libtos.a esqlc iglxa303.sl isxas07a.sl libglx.a libixgls.a libixos.sl libsql.a libtos.sl esqlmf iosls07a.sl ixacursor.o libinfxxa.a libixgls.sl libixsql.a libsql.sl libtsql.a igens07a.sl ioslt07a.sl libgen.a libinfxxa.sl libixglx.a libixsql.sl libtgen.a libtsql.sl igent07a.sl isqls07a.sl libgen.sl libixgen.a libixglx.sl libos.a libtgen.sl [hpserv02] ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19219 -- Edit this bug report at http://bugs.php.net/?id=19219&edit=1

« previous php.bugs (#24206) next »