Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-13-2010, 11:29 AM   #1
Registered: Feb 2007
Posts: 385

Rep: Reputation: 30
incompatible lib

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.

$ rpm -qa
However, after recompiling, i got the following mesg.
/usr/bin/ld: skipping incompatible /usr/lib64/ 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?
Old 09-13-2010, 01:51 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Try a "file /usr/lib64/".
Maybe also post the output of "uname -a".
Old 09-15-2010, 09:53 PM   #3
Registered: Feb 2007
Posts: 385

Original Poster
Rep: Reputation: 30
found it.. The makefile was trying to build 32bits version. fixed.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Could Copying Something From /usr/lib to /lib stop connectivity? onesikgypo Linux - Newbie 12 08-23-2009 11:51 AM
/usr/bin/ld: skipping incompatible /usr/lib/ when searching for -lXpm sqn Linux - Server 2 05-12-2009 03:53 AM
[SOLVED] No in /usr/lib/python2.5/lib-dynload rshepard Slackware 3 11-12-2007 02:59 PM
audacity unable to locate required lib files present in /usr/lib/ adityavpratap Slackware 4 11-30-2006 06:06 AM

All times are GMT -5. The time now is 11:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration