#33469 [Opn->Csd]: Compile error undefined reference to ifx_checkAPI
| From: | sniper@php.net | Date: | Mon, 27 Jun 2005 18:38:27 +0000 |
| Subject: | #33469 [Opn->Csd]: Compile error undefined reference to ifx_checkAPI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-81086@lists.php.net to get a copy of this message | ||
ID: 33469
Updated by: sniper@php.net
Reported By: claudioc at infotn dot com
-Status: Open
+Status: Closed
Bug Type: Informix related
Operating System: Fedora Core 4
PHP Version: 5CVS-2005-06-24 (dev)
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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