Reply to php compile informix error ifx_checkAPI

Your name:

Reply:


Posted by Gary Quiring on 05/26/05 21:45

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация