Re: compiling informix IDS with PHP
Posted in 2006
Danny De Koster schrieb: > Roland, > > Perhaps you would be so kind to share youre compilation scripts? > > Bye the way. I use SuSe 9.2 > > > "Roland Wintgen" <rw@evg.de> schreef in bericht > news:newscache$svuf9j$899$1@news.itemax.de... >> Manas D schrieb: >>> 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 >>>> >> Hi Danny, >> >> this seems familiar to me. The only solution I found was to compile php >> with "--disable-cli". >> And yes, I did read the above mentioned DeveloperWorks article and used >> the latest CSDK and the current IDS available at IIUG. >> >> BTW: this only seems to a problem with PHP 5, older versions will work >> fine. >> >> Roland >> >>>> >>>> /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, this is my config.nice which compiles fine under CentOS 4.4 and Fedora Core 5/6. However even if the config file tells PHP to use pdo-informix it's not patched into the source tree. IF I do so, it will give me the same error as above. So maybe this is the real problem. #! /bin/sh # # Created by configure './configure' \\ '--with-apxs2=/usr/local/apache2/bin/apxs' \\ '--with-informix=/home/informix' \\ '--with-pdo-informix=/home/informix' \\ '--with-ttf' \\ '--with-zlib' \\ '--with-gd' \\ '--with-curl' \\ '--with-ldap' \\ '--without-iconv' \\ '--without-mysql' \\ '--without-sqlite' \\ '--without-pdo-sqlite' \\ '--without-openssl' \\ '--disable-cgi' \\ '--disable-ftp' \\ '--disable-ipv6' \\ '--disable-mbstring' \\ '--disable-magic-quotes' \\ '--disable-url-fopen-wrapper' \\ '--enable-inline-optimization' \\ '--enable-url-includes' \\ '--enable-trans-sid' \\ '--enable-memory-limit' \\ '--enable-gd-native-ttf' \\ '--enable-wddx' \\ '--enable-shared' \\ '--enable-pdo' \\ "$@" -- Roland Wintgen (Systemadministrator) EVG Elektro-Vertriebs-Gesellschaft Martens GmbH & Co KG Trompeterallee 244-246, D-41189 Moenchengladbach Tel. +49 21 66 / 55 08 23, Fax +49 21 66 / 55 08 90 www.evg.de rw@evg.de