#33469 [Opn]: Compile error undefined reference to ifx_checkAPI
ID: 33469 User updated by: claudioc at infotn dot com Reported By: claudioc at infotn dot com Status: Open Bug Type: Informix related Operating System: Fedora Core 4 PHP Version: 5CVS-2005-06-28 (dev) New Comment: newest CVS version still does not compile successfully - it cannot find ifx_checkAPI when I compile the module itself [EMAIL PROTECTED] informix]# make /bin/sh /usr/src/redhat/BUILD/php-5.0.4/ext/informix/libtool --mode=link gcc /home/informix/lib/esql/checkapi.o -o libphpifx.a mkdir .libs ar cru libphpifx.a ranlib libphpifx.a (if test -d /home/informix; then \ THREADLIB=POSIX /home/informix/bin/esql -e -EDHAVE_IFX_IUS /usr/src/redhat/BUILD/php-5.0.4/ext/informix/ifx.ec; mv ifx.c /usr/src/redhat/BUILD/php-5.0.4/ext/informix/ifx.c; \ THREADLIB=POSIX /home/informix/bin/esql -e -EDHAVE_IFX_IUS /usr/src/redhat/BUILD/php-5.0.4/ext/informix/ifx.ec; \ mv ifx.c /usr/src/redhat/BUILD/php-5.0.4/ext/informix/ifx.c || true; \ else \ touch /usr/src/redhat/BUILD/php-5.0.4/ext/informix/ifx.c; \ fi) mv: `ifx.c' and `/usr/src/redhat/BUILD/php-5.0.4/ext/informix/ifx.c' are the same file mv: `ifx.c' and `/usr/src/redhat/BUILD/php-5.0.4/ext/informix/ifx.c' are the same file /bin/sh /usr/src/redhat/BUILD/php-5.0.4/ext/informix/libtool --mode=compile gcc -I/home/informix/incl/esql -I. -I/usr/src/redhat/BUILD/php-5.0.4/ext/informix -DPHP_ATOM_INC -I/usr/src/redhat/BUILD/php-5.0.4/ext/informix/include -I/usr/src/redhat/BUILD/php-5.0.4/ext/informix/main -I/usr/src/redhat/BUILD/php-5.0.4/ext/informix -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -DHAVE_CONFIG_H -g -O2 -c /usr/src/redhat/BUILD/php-5.0.4/ext/informix/ifx.c -o ifx.lo gcc -I/home/informix/incl/esql -I. -I/usr/src/redhat/BUILD/php-5.0.4/ext/informix -DPHP_ATOM_INC -I/usr/src/redhat/BUILD/php-5.0.4/ext/informix/include -I/usr/src/redhat/BUILD/php-5.0.4/ext/informix/main -I/usr/src/redhat/BUILD/php-5.0.4/ext/informix -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -DHAVE_CONFIG_H -g -O2 -c /usr/src/redhat/BUILD/php-5.0.4/ext/informix/ifx.c -fPIC -DPIC -o .libs/ifx.o /bin/sh /usr/src/redhat/BUILD/php-5.0.4/ext/informix/libtool --mode=link gcc -DPHP_ATOM_INC -I/usr/src/redhat/BUILD/php-5.0.4/ext/informix/include -I/usr/src/redhat/BUILD/php-5.0.4/ext/informix/main -I/usr/src/redhat/BUILD/php-5.0.4/ext/informix -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -DHAVE_CONFIG_H -g -O2 -o informix.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/src/redhat/BUILD/php-5.0.4/ext/informix/modules ifx.lo -Wl,-rpath,/usr/src/redhat/BUILD/php-5.0.4/ext/informix/. -L/usr/src/redhat/BUILD/php-5.0.4/ext/informix/. -Wl,-rpath,/home/informix/lib/esql -L/home/informix/lib/esql -Wl,-rpath,/home/informix/lib -L/home/informix/lib -lifsql -lifasf -lifgen -lifos -lifgls -ldl -lcrypt -lphpifx -lifglx gcc -shared .libs/ifx.o -L/usr/src/redhat/BUILD/php-5.0.4/ext/informix/. -L/home/informix/lib/esql -L/home/informix/lib -lifsql -lifasf -lifgen -lifos -lifgls -ldl -lcrypt -lphpifx -lifglx -Wl,-rpath -Wl,/usr/src/redhat/BUILD/php-5.0.4/ext/informix/. -Wl,-rpath -Wl,/home/informix/lib/esql -Wl,-rpath -Wl,/home/informix/lib -Wl,-soname -Wl,informix.so -o .libs/informix.so creating informix.la (cd .libs && rm -f informix.la && ln -s ../informix.la informix.la) /bin/sh /usr/src/redhat/BUILD/php-5.0.4/ext/informix/libtool --mode=install cp ./informix.la /usr/src/redhat/BUILD/php-5.0.4/ext/informix/modules cp ./.libs/informix.so /usr/src/redhat/BUILD/php-5.0.4/ext/informix/modules/informix.so cp ./.libs/informix.lai /usr/src/redhat/BUILD/php-5.0.4/ext/informix/modules/informix.la PATH="$PATH:/sbin" ldconfig -n /usr/src/redhat/BUILD/php-5.0.4/ext/informix/modules -- Libraries have been installed in: /usr/src/redhat/BUILD/php-5.0.4/ext/informix/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. -- Build complete. (It is safe to ignore warnings about tempnam and tmpnam). It appears to
#33469 [Csd->Opn]: Compile error undefined reference to ifx_checkAPI
ID: 33469 User updated by: claudioc at infotn dot com Reported By: claudioc at infotn dot com -Status: Closed +Status: Open Bug Type: Informix related Operating System: Fedora Core 4 -PHP Version: 5CVS-2005-06-24 (dev) +PHP Version: 5CVS-2005-06-28 (dev) New Comment: [Tue Jun 28 08:25:45 2005] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations [Tue Jun 28 08:27:03 2005] [notice] caught SIGTERM, shutting down [Tue Jun 28 08:27:04 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Tue Jun 28 08:27:05 2005] [notice] Digest: generating secret for digest authentication ... [Tue Jun 28 08:27:05 2005] [notice] Digest: done [Tue Jun 28 08:27:05 2005] [notice] LDAP: Built with OpenLDAP LDAP SDK [Tue Jun 28 08:27:05 2005] [notice] LDAP: SSL support unavailable PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/informix.so' - /home/informix/lib/esql/libifos.so: undefined symbol: ifx_checkAPI in Unknown on line 0 [Tue Jun 28 08:27:05 2005] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Tue Jun 28 08:27:05 2005] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations Previous Comments: [2005-06-27 20:38:26] [EMAIL PROTECTED] This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. [2005-06-27 13:31:45] claudioc at infotn dot com I am attempting to recompile php with informix support under Fedora Core 4 - I had originally downloaded the fedora source rpm was attemping to rebuild the rpm (rpmbuild -bb) but I encountered a compile error - undefined reference to ifx_checkAPI. I tried setting the IFX_LIBS, IFX_..., etc variables as per the various posts I found on this buglist and others. I then downloaded the CVS version from the website and untared it to the /usr/src/redhat/build/php directory (same place fedora puts the source). I tried to rebuild the rpm with the CVS code, same problem. I then tried to compile php directly from the source. I ran ./configure using the same options provided by the rpm build process but I added --with-informix=/home/informix . When compiling I still recieve the ifx_checkAPI undefined reference error. I tried a number of different settings for the IFX_... environment variables with no success. I then tried to compile just the ifx module by running phpize in the ext/informix/ directory and then ./configure and make. The compile appeared to complete successfully but when restarting apache the log indicates that ifx_checkAPI could not be found. I am running Fedora Core 4 - kernel 2.6.11-1.1369_FC4 The php source is php5-200506241630 The client sdk is 2.90.UC1 [2005-06-26 13:42:42] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. [2005-06-24 21:45:17] claudioc at infotn dot com Description: When compiling php with informix support /home/informix/lib/esql/libifsql.so: undefined reference to `ifx_checkAPI' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 I have reviewed other similar bug reports with no joy. I have tried explicitly specifying the library directories with no change. I am using client sdk 2.90.UC1 with the current CVS version of PHP -- Edit this bug report at http://bugs.php.net/?id=33469&edit=1
#33469 [Fbk->Opn]: Compile error undefined reference to ifx_checkAPI
ID: 33469 User updated by: claudioc at infotn dot com Reported By: claudioc at infotn dot com -Status: Feedback +Status: Open Bug Type: Informix related Operating System: Fedora Core 4 PHP Version: 5CVS-2005-06-24 (dev) New Comment: I am attempting to recompile php with informix support under Fedora Core 4 - I had originally downloaded the fedora source rpm was attemping to rebuild the rpm (rpmbuild -bb) but I encountered a compile error - undefined reference to ifx_checkAPI. I tried setting the IFX_LIBS, IFX_..., etc variables as per the various posts I found on this buglist and others. I then downloaded the CVS version from the website and untared it to the /usr/src/redhat/build/php directory (same place fedora puts the source). I tried to rebuild the rpm with the CVS code, same problem. I then tried to compile php directly from the source. I ran ./configure using the same options provided by the rpm build process but I added --with-informix=/home/informix . When compiling I still recieve the ifx_checkAPI undefined reference error. I tried a number of different settings for the IFX_... environment variables with no success. I then tried to compile just the ifx module by running phpize in the ext/informix/ directory and then ./configure and make. The compile appeared to complete successfully but when restarting apache the log indicates that ifx_checkAPI could not be found. I am running Fedora Core 4 - kernel 2.6.11-1.1369_FC4 The php source is php5-200506241630 The client sdk is 2.90.UC1 Previous Comments: [2005-06-26 13:42:42] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. [2005-06-24 21:45:17] claudioc at infotn dot com Description: When compiling php with informix support /home/informix/lib/esql/libifsql.so: undefined reference to `ifx_checkAPI' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 I have reviewed other similar bug reports with no joy. I have tried explicitly specifying the library directories with no change. I am using client sdk 2.90.UC1 with the current CVS version of PHP -- Edit this bug report at http://bugs.php.net/?id=33469&edit=1
#33469 [NEW]: Compile error undefined reference to ifx_checkAPI
From: claudioc at infotn dot com Operating system: Fedora Core 4 PHP version: 5CVS-2005-06-24 (dev) PHP Bug Type: Informix related Bug description: Compile error undefined reference to ifx_checkAPI Description: When compiling php with informix support /home/informix/lib/esql/libifsql.so: undefined reference to `ifx_checkAPI' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 I have reviewed other similar bug reports with no joy. I have tried explicitly specifying the library directories with no change. I am using client sdk 2.90.UC1 with the current CVS version of PHP -- Edit bug report at http://bugs.php.net/?id=33469&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33469&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33469&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33469&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=33469&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=33469&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33469&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33469&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33469&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33469&r=support Expected behavior: http://bugs.php.net/fix.php?id=33469&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33469&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33469&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=33469&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33469&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=33469&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33469&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33469&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33469&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33469&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33469&r=mysqlcfg