If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Compilation using 32-bit and 64-bit libraries

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-15-03, 05:39
satya_pathak satya_pathak is offline
Registered User
 
Join Date: Mar 2003
Location: India
Posts: 1
Question Compilation using 32-bit and 64-bit libraries

Hi,

I want to use 32-bit libraries in our code during compilation and link our executable on a 64-bit Informix version (9.30.FC3X1).
When we are trying to do this, ld throws a compatibility error, saying

"/usr/ccs/bin/ld: /usr/ifx930fc3/lib/esql/libifos.a: Not a valid library (invalid
magic number). Possibly a 64-bit PA archive library (Mismatched ABI)."

We are not using ld directly, but through esql.
Is there any way we can tell esql to use 32-bit libraries along with 64-bit Informix libraries?

Regards,
Satya
Infosys Technologies LTD. Pune - India
Reply With Quote
  #2 (permalink)  
Old 03-20-03, 07:05
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
Nope.
If you want to connect with esql to a 64 -bit Informix engine, you will need a 64bit esql.
__________________
rws
Reply With Quote
  #3 (permalink)  
Old 03-21-03, 04:18
eherber eherber is offline
Registered User
 
Join Date: Aug 2002
Location: Bonn/Germany
Posts: 152
Quote:
Originally posted by Roelwe
Nope.
If you want to connect with esql to a 64 -bit Informix engine, you will need a 64bit esql.
But only if you want to run the application on the same
machine and your connection type is 'onipcshm'.
For TCP-Connections is should be possible to connect
a 32-Bit-EsqlClient to a 64-Bit IDS.
__________________

Best regards

Eric
--
IT-Consulting Herber
WWW: http://www.herber-consulting.de
Email: eric@herber-consulting.de

***********************************************
Download the IFMX Database-Monitor for free at:
http://www.herber-consulting.de/BusyBee
***********************************************
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On