ID: 23206 Comment by: oliver dot faenger at cityweb dot de Reported By: maro dot ciullini at datamar dot it Status: Closed Bug Type: Compile Failure Operating System: linux redhat 9 PHP Version: 4.3.1 New Comment:
I've got RH9 and try to compile php-4.3.4 or php-5.0.0b. esql -V says: IBM Informix CSDK Version 2.81, IBM Informix-ESQL Version 9.53.UC2 Software Serial Number RDS#N000000 And I still get: /opt/informix/lib/esql/libifgls.so: undefined reference to `__ctype_b' /opt/informix/lib/esql/libifgls.so: undefined reference to `__ctype_toupper' /opt/informix/lib/esql/libifgls.so: undefined reference to `__ctype_tolower' collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 my configure was: ./configure --with-informix=/opt/informix --disable-libxml --disable-simplexml --disable-xml --disable-dom --without-pear --disable-cli Informix is recognized as version 953 (no config.m4 problem?) Previous Comments: ------------------------------------------------------------------------ [2003-09-09 11:12:29] awilliam at mdah dot state dot ms dot us I am having the same problem. But you can still use PHP with informix support on RedHat 9 if you use --disable-cli in your configure. http://bugs.php.net/bug.php?id=25423$edit=2 ------------------------------------------------------------------------ [2003-04-17 02:34:54] maro dot ciullini at datamar dot it Hi all, I tahnk you for the support you gave me. After all, I saw it is not a PHP problem, but a Informix csdk problem on RedHat 9. I tried with csdk 2.60, 2.80 and 2.81, but when I type esql -V I always get the error: Incorrectly built binary which accesses errno, h_errno or _res directly. Needs to be fixed. So I will send a bug report to Informix developers and RedHat. I am downgrading to Red Hat 8.0, 'casue I'm sure that with that version works... Bye ------------------------------------------------------------------------ [2003-04-15 11:10:02] philarete at mindspring dot com The problem appears to be an incompatibility between the Informix CSDK (both 2.80 and 2.81) and Red Hat 9. Note the line Incorrectly built binary which accesses errno, h_errno or _res directly. Needs to be fixed. This is the first line output by "esql -V" when you run it under Red Hat 9. The PHP build process (in ext/informix/config.m4) calls sed to parse the first line output by "esql -V" to set IFX_VERSION: which fails because of the error message. ------------------------------------------------------------------------ [2003-04-15 07:05:55] marco dot ciullini at datamar dot it Tried last CVS, and I had less problems (I did not have to modify ifx.ec) but I get always a compile error message: make (lot of cut)... /u/informix/lib/esql/libifgls.so: undefined reference to `__ctype_b' /u/informix/lib/esql/libifgls.so: undefined reference to `__ctype_toupper' /u/informix/lib/esql/libifgls.so: undefined reference to `__ctype_tolower' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 Same as before... ------------------------------------------------------------------------ [2003-04-14 14:33:12] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip And bundled MySQL lib is enabled as default and have been that for a long time. ------------------------------------------------------------------------ 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/23206 -- Edit this bug report at http://bugs.php.net/?id=23206&edit=1