compiling informix IDS with PHP
Posted in 2006
Danny's build of PHP 5.2.0 with the Informix extension failed at the PEAR install step: the new php CLI binary couldn't start because libifgls.so could not be found, giving make errors 127/2. Clive Eisen pointed to the likely cause: either the Informix Client-SDK isn't installed, or $INFORMIXDIR/lib and $INFORMIXDIR/lib/esql aren't in LD_LIBRARY_PATH (or /etc/ld.so.conf). Others asked for his configure line/environment and pointed to an IBM developerWorks article on building PHP with Informix. The original poster never replied, so no confirmed resolution is recorded.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
Topics: Installation, Setup & Upgrades, Internationalization & Character Sets
Hi all, I want to use my informix database with PHP. But with the compilation I get this. Any solutions? Thanks, Danny /bin/sh /usr/local/src/php-5.2.0/libtool --silent --preserve-dup-deps --mode=ins tall cp ext/wddx/wddx.la /usr/local/src/php-5.2.0/modules Installing PHP SAPI module: apache2handler /usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool' libphp5.la /usr/local/apache/modules /usr/local/apache/build/libtool --mode=install cp libphp5.la /usr/local/apache/m odules/ cp .libs/libphp5.so /usr/local/apache/modules/libphp5.so cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la libtool: install: warning: remember to run `libtool --finish /usr/local/src/php- 5.2.0/libs' chmod 755 /usr/local/apache/modules/libphp5.so [activating module `php5' in /usr/local/apache/conf/httpd.conf] Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts -20060613/ Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config Installing man pages: /usr/local/man/man1/ page: phpize.1 page: php-config.1 Installing PEAR environment: /usr/local/lib/php/ /usr/local/src/php-5.2.0/sapi/cli/php: error while loading shared libraries: lib ifgls.so: cannot open shared object file: No such file or directory make[1]: *** [install-pear-installer] Error 127 make: *** [install-pear] Error 2
Danny De Koster wrote: > Hi all, > > I want to use my informix database with PHP. But with the compilation I get > this. > Any solutions? > Installing PEAR environment: /usr/local/lib/php/ > /usr/local/src/php-5.2.0/sapi/cli/php: error while loading shared libraries: > lib > ifgls.so: cannot open shared object file: No such file or directory > make[1]: *** [install-pear-installer] Error 127 > make: *** [install-pear] Error 2 > 1) have you installed the Client-SDK? 2) have you added ${INFORMIXDIR}/lib and ${INFORMIXDIR}/lib/esql to LD_LIBRARY_PATH or /etc/ld..so.conf /or /etc/ld.so.conf.d or whatever the equivalent is on your (unspecified) platform? -- Clive
What is your config line and environment ? Paul Watson Tel: +44 1414161772 Mob: +44 7818003457 Web: www.oninit.com GO FURTHER with DB2 GET THERE FASTER with Informix. Attend IDUG 2007 San Jose, North America May 6-10, 2007 Visit http://www.iiug.org/conf for more information. > -----Original Message----- > From: Danny De Koster [mailto:ddk@fidelity-soft.be] > Posted At: 27 November 2006 10:11 > Posted To: comp.databases.informix > Conversation: compiling informix IDS with PHP > Subject: compiling informix IDS with PHP > > > Hi all, > > I want to use my informix database with PHP. But with the > compilation I get this. > Any solutions? > > Thanks, > Danny > > > > /bin/sh > /usr/local/src/php-5.2.0/libtool --silent --preserve-dup-deps > --mode=ins tall cp ext/wddx/wddx.la /usr/local/src/php-5.2.0/modules > Installing PHP SAPI module: apache2handler > /usr/local/apache/build/instdso.sh > SH_LIBTOOL='/usr/local/apache/build/libtool' > libphp5.la /usr/local/apache/modules > /usr/local/apache/build/libtool --mode=install cp libphp5.la > /usr/local/apache/m odules/ cp .libs/libphp5.so > /usr/local/apache/modules/libphp5.so > cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la > libtool: install: warning: remember to run `libtool --finish > /usr/local/src/php- > 5.2.0/libs' > chmod 755 /usr/local/apache/modules/libphp5.so > [activating module `php5' in /usr/local/apache/conf/httpd.conf] > Installing PHP CLI binary: /usr/local/bin/ > Installing PHP CLI man page: /usr/local/man/man1/ > Installing shared extensions: > /usr/local/lib/php/extensions/no-debug-non-zts > -20060613/ > Installing build environment: /usr/local/lib/php/build/ > Installing header files: /usr/local/include/php/ > Installing helper programs: /usr/local/bin/ > program: phpize > program: php-config > Installing man pages: /usr/local/man/man1/ > page: phpize.1 > page: php-config.1 > Installing PEAR environment: /usr/local/lib/php/ > /usr/local/src/php-5.2.0/sapi/cli/php: error while loading > shared libraries: > lib > ifgls.so: cannot open shared object file: No such file or directory > make[1]: *** [install-pear-installer] Error 127 > make: *** [install-pear] Error 2 > >
There is a complete article on dW re: installing PHP and Informix... Hih jgp > -----Original Message----- > From: informix-list-bounces@iiug.org [mailto:informix-list- > bounces@iiug.org] On Behalf Of Paul Watson > Sent: Monday, November 27, 2006 17:57 > To: informix-list@iiug.org > Subject: Re: compiling informix IDS with PHP > > What is your config line and environment ? > > Paul Watson > Tel: +44 1414161772 > Mob: +44 7818003457 > Web: www.oninit.com > > GO FURTHER with DB2 > GET THERE FASTER with Informix. > Attend IDUG 2007 San Jose, North America > May 6-10, 2007 > Visit http://www.iiug.org/conf for more information. > > > > > > -----Original Message----- > > From: Danny De Koster [mailto:ddk@fidelity-soft.be] > > Posted At: 27 November 2006 10:11 > > Posted To: comp.databases.informix > > Conversation: compiling informix IDS with PHP > > Subject: compiling informix IDS with PHP > > > > > > Hi all, > > > > I want to use my informix database with PHP. But with the > > compilation I get this. > > Any solutions? > > > > Thanks, > > Danny > > > > > > > > /bin/sh > > /usr/local/src/php-5.2.0/libtool --silent --preserve-dup-deps > > --mode=ins tall cp ext/wddx/wddx.la /usr/local/src/php-5.2.0/modules > > Installing PHP SAPI module: apache2handler > > /usr/local/apache/build/instdso.sh > > SH_LIBTOOL='/usr/local/apache/build/libtool' > > libphp5.la /usr/local/apache/modules > > /usr/local/apache/build/libtool --mode=install cp libphp5.la > > /usr/local/apache/m odules/ cp .libs/libphp5.so > > /usr/local/apache/modules/libphp5.so > > cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la > > libtool: install: warning: remember to run `libtool --finish > > /usr/local/src/php- > > 5.2.0/libs' > > chmod 755 /usr/local/apache/modules/libphp5.so > > [activating module `php5' in /usr/local/apache/conf/httpd.conf] > > Installing PHP CLI binary: /usr/local/bin/ > > Installing PHP CLI man page: /usr/local/man/man1/ > > Installing shared extensions: > > /usr/local/lib/php/extensions/no-debug-non-zts > > -20060613/ > > Installing build environment: /usr/local/lib/php/build/ > > Installing header files: /usr/local/include/php/ > > Installing helper programs: /usr/local/bin/ > > program: phpize > > program: php-config > > Installing man pages: /usr/local/man/man1/ > > page: phpize.1 > > page: php-config.1 > > Installing PEAR environment: /usr/local/lib/php/ > > /usr/local/src/php-5.2.0/sapi/cli/php: error while loading > > shared libraries: > > lib > > ifgls.so: cannot open shared object file: No such file or directory > > make[1]: *** [install-pear-installer] Error 127 > > make: *** [install-pear] Error 2 > > > > > > _______________________________________________ > Informix-list mailing list > Informix-list@iiug.org > http://www.iiug.org/mailman/listinfo/informix-list
> > There is a complete article on dW re: installing PHP and Informix... Errr, the RTFM approach > > Hih > > jgp > > > -----Original Message----- > > From: informix-list-bounces@iiug.org [mailto:informix-list- > > bounces@iiug.org] On Behalf Of Paul Watson > > Sent: Monday, November 27, 2006 17:57 > > To: informix-list@iiug.org > > Subject: Re: compiling informix IDS with PHP > > > > What is your config line and environment ? > > > > Paul Watson > > Tel: +44 1414161772 > > Mob: +44 7818003457 > > Web: www.oninit.com > > > > GO FURTHER with DB2 > > GET THERE FASTER with Informix. > > Attend IDUG 2007 San Jose, North America May 6-10, 2007 Visit > > http://www.iiug.org/conf for more information. > > > > > > > > > > > -----Original Message----- > > > From: Danny De Koster [mailto:ddk@fidelity-soft.be] Posted At: 27 > > > November 2006 10:11 Posted To: comp.databases.informix > > > Conversation: compiling informix IDS with PHP > > > Subject: compiling informix IDS with PHP > > > > > > > > > Hi all, > > > > > > I want to use my informix database with PHP. But with the > > > compilation I get this. > > > Any solutions? > > > > > > Thanks, > > > Danny > > > > > > > > > > > > /bin/sh > > > /usr/local/src/php-5.2.0/libtool --silent --preserve-dup-deps > > > --mode=ins tall cp ext/wddx/wddx.la > /usr/local/src/php-5.2.0/modules > > > Installing PHP SAPI module: apache2handler > > > /usr/local/apache/build/instdso.sh > > > SH_LIBTOOL='/usr/local/apache/build/libtool' > > > libphp5.la /usr/local/apache/modules > /usr/local/apache/build/libtool > > > --mode=install cp libphp5.la /usr/local/apache/m odules/ cp > > > .libs/libphp5.so /usr/local/apache/modules/libphp5.so > > > cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la > > > libtool: install: warning: remember to run `libtool --finish > > > /usr/local/src/php- > > > 5.2.0/libs' > > > chmod 755 /usr/local/apache/modules/libphp5.so > > > [activating module `php5' in /usr/local/apache/conf/httpd.conf] > > > Installing PHP CLI binary: /usr/local/bin/ > > > Installing PHP CLI man page: /usr/local/man/man1/ > > > Installing shared extensions: > > > /usr/local/lib/php/extensions/no-debug-non-zts > > > -20060613/ > > > Installing build environment: /usr/local/lib/php/build/ > > > Installing header files: /usr/local/include/php/ > > > Installing helper programs: /usr/local/bin/ > > > program: phpize > > > program: php-config > > > Installing man pages: /usr/local/man/man1/ > > > page: phpize.1 > > > page: php-config.1 > > > Installing PEAR environment: /usr/local/lib/php/ > > > /usr/local/src/php-5.2.0/sapi/cli/php: error while loading shared > > > libraries: > > > lib > > > ifgls.so: cannot open shared object file: No such file or > directory > > > make[1]: *** [install-pear-installer] Error 127 > > > make: *** [install-pear] Error 2 > > > > > > > > > > _______________________________________________ > > Informix-list mailing list > > Informix-list@iiug.org > > http://www.iiug.org/mailman/listinfo/informix-list >
Danny, Please refer to the following article http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0606bombardier/ Thanks, -Manas Danny De Koster wrote: > Hi all, > > I want to use my informix database with PHP. But with the compilation I get > this. > Any solutions? > > Thanks, > Danny > > > > /bin/sh > /usr/local/src/php-5.2.0/libtool --silent --preserve-dup-deps --mode=ins > tall cp ext/wddx/wddx.la /usr/local/src/php-5.2.0/modules > Installing PHP SAPI module: apache2handler > /usr/local/apache/build/instdso.sh > SH_LIBTOOL='/usr/local/apache/build/libtool' > libphp5.la /usr/local/apache/modules > /usr/local/apache/build/libtool --mode=install cp libphp5.la > /usr/local/apache/m > odules/ > cp .libs/libphp5.so /usr/local/apache/modules/libphp5.so > cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la > libtool: install: warning: remember to run `libtool --finish > /usr/local/src/php- > 5.2.0/libs' > chmod 755 /usr/local/apache/modules/libphp5.so > [activating module `php5' in /usr/local/apache/conf/httpd.conf] > Installing PHP CLI binary: /usr/local/bin/ > Installing PHP CLI man page: /usr/local/man/man1/ > Installing shared extensions: > /usr/local/lib/php/extensions/no-debug-non-zts > -20060613/ > Installing build environment: /usr/local/lib/php/build/ > Installing header files: /usr/local/include/php/ > Installing helper programs: /usr/local/bin/ > program: phpize > program: php-config > Installing man pages: /usr/local/man/man1/ > page: phpize.1 > page: php-config.1 > Installing PEAR environment: /usr/local/lib/php/ > /usr/local/src/php-5.2.0/sapi/cli/php: error while loading shared libraries: > lib > ifgls.so: cannot open shared object file: No such file or directory > make[1]: *** [install-pear-installer] Error 127 > make: *** [install-pear] Error 2
Related threads
- Column name length in Informix
- Caching Data to Buffers
- Checkpoint Duration
- dbaccess standalone.
- Getting executable name.