Unix Technical Forum

Compiling and linking in C with C-ISAM library

This is a discussion on Compiling and linking in C with C-ISAM library within the Informix forums, part of the Database Server Software category; --> Can anyone tell me why I am getting the following error? /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../ .../libisam.a when searching for ...


Go Back   Unix Technical Forum > Database Server Software > Informix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 11:06 AM
kjuliff@gmail.com
 
Posts: n/a
Default Compiling and linking in C with C-ISAM library

Can anyone tell me why I am getting the following error?

/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../
.../libisam.a when searching for -lisam
/usr/bin/ld: skipping incompatible /usr/lib/libisam.a when searching
for -lisam
/usr/bin/ld: cannot find -lisam
collect2: ld returned 1 exit status

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 11:06 AM
Jonathan Leffler
 
Posts: n/a
Default Re: Compiling and linking in C with C-ISAM library

On 10 May 2006 13:14:25 -0700, kjuliff@gmail.com <kjuliff@gmail.com> wrote:
> Can anyone tell me why I am getting the following error?
>
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-redhat-linux/3.4.5/../../
> ../libisam.a when searching for -lisam
> /usr/bin/ld: skipping incompatible /usr/lib/libisam.a when searching
> for -lisam
> /usr/bin/ld: cannot find -lisam
> collect2: ld returned 1 exit status


It would appear that /usr/lib/libisam.a is not the correct type of
library for your 64-bit version of Linux. Maybe you have a 32-bit
version of C-ISAM instead?

As to whether there is a 64-bit version of C-ISAM available - that
you'll need to research on your own; remember, Google might be your
friend. (site:ibm.com could be a useful term).

--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:03 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com