#33469 [Csd->Opn]: Compile error undefined reference to ifx_checkAPI
| From: | claudioc at infotn dot com | Date: | Tue, 28 Jun 2005 12:34:09 +0000 |
| Subject: | #33469 [Csd->Opn]: Compile error undefined reference to ifx_checkAPI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-81121@lists.php.net to get a copy of this message | ||
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] sniper@php.net
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] sniper@php.net
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