ID: 19219
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Informix related
Operating System: HPUX 11.0
PHP Version: 4.2.2
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2002-09-28 00:18:04] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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]
------------------------------------------------------------------------
[2002-09-04 19:40:23] [EMAIL PROTECTED]
I think libtool sucks. And I'm out of ideas.
------------------------------------------------------------------------
[2002-09-04 17:37:33] [EMAIL PROTECTED]
No such luck. The standard build with:
./configure --with-apxs=/usr/informix/apache/bin/apxs --with-mysql=no
Resulted in....
.
.
*** Warning: This library needs some functionality provided by
-lcrypt....*** I have the capability to make that.....
*** Warning: libtool could not satisfy all declared inter-library***
dependencies of module libphp4. Therefore, libtool will create *** a
static module, that should work as long as the dlopening ***
application is linked with the -dlopen flag.
Installing PHP SAPI module
apxs:Error: file libs/libphp4.sl is not a DSO
*** Error exit code 1
Stop.
===============================================
the libs directory contained two libraries...
libphp4.a libphp4.la
I copied them to the apache modules dir and updated
the httpd.conf to include them....when starting get the
error:
[hpserv02] ./apachectl start
/usr/lib/dld.sl: Bad magic number for shared library:
/usr/local/apache/lib/modules/libphp4.la
/usr/lib/dld.sl: Exec format error
Syntax error on line 236 of /usr/local/apache/etc/httpd.conf:
Cannot load /usr/local/apache/lib/modules/libphp4.la into server: Exec
format error
./apachectl start: httpd could not be started
---------
Since I cannot rebuild the Apache, I must have an Informix make file
that includes the proper shared library. This seems to me to be the
simplest solution..(and use the 4.2.2 source for the build) What do
you think?
Thanks
Jerry
------------------------------------------------------------------------
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