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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| ||||
| 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/ |