php compile informix error ifx_checkAPI

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gary Quiring

    #1

    php compile informix error ifx_checkAPI

    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


  • Gary Quiring

    #2
    Re: php compile informix error ifx_checkAPI

    On Thu, 26 May 2005 14:45:50 -0400, Gary Quiring <gquiring@msn.c om> wrote:
    [color=blue]
    >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
    >[/color]
    I have manually linked the checkapi.o file and still get the same error. Anyone
    got this working?

    Thanks
    Gary

    Comment

    Working...