473,770 Members | 6,091 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Jul 17 '05 #1
1 2369
On Thu, 26 May 2005 14:45:50 -0400, Gary Quiring <gq******@msn.c om> 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
5740
by: D. Sandmann | last post by:
I have had this problem in the past on another machine and fixed it by setting the environment variables for INFORMIXDIR and INFORMIXSERVER. When adding the same lines on the new machine I still get the following message: Warning: ifx_pconnect(): E in :\webroot\PHPinclude\db_vars.inc on line 7 I tried doing what I did before, but still is not working. Doing "phpinfo();" The following information is displayed:
1
3033
by: Brian McLaughlin | last post by:
I have a Solaris machine running Informix and a Linux machine with the Informix SDK installed. I've been running php scripts for a couple months now on the Linux box that connect to Informix and do various queries/updates. Recently (with no apparent changes to anything of course) these scripts started failing. They're unable to connect to Informix, and the error message is "Unable to load locale categories." I'm looking for tips,...
0
1377
by: Danny De Koster | last post by:
Hi all, In trying to use INFORMIX functions, I needed to recompile my PHP. I did: ./configure --with-informix=/usr/informix94 then with the make I get: /usr/informix94/lib/esql/libifsql.so: undefined reference to `ifx_checkAPI' collect2: ld returned 1 exit status make: *** Error 1
3
7205
by: Christian Eriksson | last post by:
Hi! I'm programming Perl DBI accessing Informix databases. I have a problem on a Solaris machine to use my installed Informix driver (DBD::Informix). I get the following error message: install_driver(Informix) failed: Can't load '/usr/perl5/5.6.1/site_perl/sun4-solaris/auto/DBD/Informix/Informix.so' for module DBD::Informix: ld.so.1: /usr/bin/perl: fatal: libifsql.so: open failed: No such file or directory at
0
1672
by: Lee | last post by:
I'm writting a program using Visual C++. Basically the program will tap to a line, received the data and process and finally insert into Informix Database. It happen that day the insertion of data didn't work. It reply me the error "-271". I already checked through the help file of informix database. It said that this error happen because of many reasons. It asked me to refer to ISAM code for details. My question is when informix reply...
10
5521
by: Joachim Banzhaf | last post by:
Hi, Creating the federated datasource library for informix fails for me. The db2 server is version 8.1 WSE on AIX 4.3. The informix client on this server is version CSDK 2.81/ESQL 9.53 UC2. When I run djxlink as root, I get the followin messages: # /usr/opt/db2_08_01/bin/djxlink /usr/opt/db2_08_01/bin/djxlinkInformix: nm: /informix/clientsdk/lib/esql/libifgen.a: 0654-200 Cannot open the
0
2669
by: Lester Knutsen | last post by:
A two-day IBM Informix and DB2 User Group Technical Conference - Friday and Saturday, December 8-9, 2006 We are very please to announce our Keynote Speakers --------------------------------------------------- * Friday, December 8, 2006 – Ambuj Goyal, General Manager of IBM Information Management * Saturday, December 9,2006 - Arvid Krishna, Vice President of Database Servers, IBM Information Management These are the top two executives...
0
1628
by: Prasad | last post by:
Hi, We have DB2 v9 FP2 on AIX 5.3 64-bit. We have Informix 7 on another AIX 5.3. Our requirement is to access Informix tables from within a DB2 database. I installed Informix Client SDK 2.9 on DB2 server. I did the following steps to create a nickname on DB2 server. 1. Configured sqlhosts file.
14
11656
by: Khan | last post by:
Hello, I want to connect my intranet server (with php/apache) to the other informix database server, But I didnt it. I dont know how i can do it? Can i use php_informix extensions for example ifx_connect(); I was read this article: http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0606bombardier/index.html and doing step one step but i was not success.
0
10231
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10059
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10005
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8887
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7416
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6679
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5313
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2817
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.