Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- php compile informix error ifx_checkAPI
- Gary Quiring
May 26, 2005, 7:45 pm
rate this thread
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:
So how do I tell the configure script to link the correct checkapi.o?
- » case insensitive associative array (tolerant dictionary)
- — Previous thread in » PHP Scripting Forum