By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,776 Members | 1,397 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,776 IT Pros & Developers. It's quick & easy.

php compile informix error ifx_checkAPI

P: n/a
I am trying to use PHP 5.0.4 on Solaris 9 (Sparc) with SDK 2.81.UC3 or SDK
2.90FC1. When I fire up httpd I get the following error:

Cannot load /usr/apache/libexec/libphp5.so into server: ld.so.1: httpd: fatal: r
elocation error: file /u/informix/lib/esql/libifsql.so: symbol ifx_checkAPI: ref
erenced symbol not found

I found a reference about the Informix CSDK:

If the API version of the libraries in this executable file are not compatible,
ESQL/C returns a runtime error that indicates which library is not compatible.
You must recompile your ESQL/C application to link the new release-version of
the shared library.
If you do not use esql to link one of the shared Informix general libraries with
your ESQL/C application, you must explicitly link the checkapi.o file with your
application. Otherwise, ESQL/C might generate an error at link time of the form:
undefined ifx_checkAPI()

So how do I tell the configure script to link the correct checkapi.o?

Thanks
Gary Quiring
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Thu, 26 May 2005 14:45:50 -0400, Gary Quiring <gq******@msn.com> wrote:
I am trying to use PHP 5.0.4 on Solaris 9 (Sparc) with SDK 2.81.UC3 or SDK
2.90FC1. When I fire up httpd I get the following error:

Cannot load /usr/apache/libexec/libphp5.so into server: ld.so.1: httpd: fatal: r
elocation error: file /u/informix/lib/esql/libifsql.so: symbol ifx_checkAPI: ref
erenced symbol not found

I found a reference about the Informix CSDK:

If the API version of the libraries in this executable file are not compatible,
ESQL/C returns a runtime error that indicates which library is not compatible.
You must recompile your ESQL/C application to link the new release-version of
the shared library.
If you do not use esql to link one of the shared Informix general libraries with
your ESQL/C application, you must explicitly link the checkapi.o file with your
application. Otherwise, ESQL/C might generate an error at link time of the form:
undefined ifx_checkAPI()

So how do I tell the configure script to link the correct checkapi.o?

Thanks
Gary Quiring

I have manually linked the checkapi.o file and still get the same error. Anyone
got this working?

Thanks
Gary

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.