I am trying to build a program on a 64-bit Redhat EL5 machine.
This machine has some libaio package already, but i guess it probably
needs the dev package as it complain about cannot find the libaio.h. I search on the Internet and download from the Internet the package
libaio-devel-0.3.106-5.x86_64.rpm. Once installed, i verified.
Code:
$ rpm -qa
libaio-0.3.106-5
libaio-devel-0.3.106-5
libaio-0.3.106-5
However, after recompiling, i got the following mesg.
Code:
/usr/bin/ld: skipping incompatible /usr/lib64/libaio.so when searching for -laio
/usr/bin/ld: skipping incompatible /usr/lib64/libaio.a when searching for -laio
/usr/bin/ld: cannot find -laio
I guess the version is not correct. Is there a way to verify and make sure that I have the right version?