LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-13-2010, 12:29 PM   #1
ufmale
Member
 
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.

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?
 
Old 09-13-2010, 02:51 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

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

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


Reply


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 12:51 PM
/usr/bin/ld: skipping incompatible /usr/lib/libXpm.so when searching for -lXpm sqn Linux - Server 2 05-12-2009 04:53 AM
[SOLVED] No _sqlite3.so in /usr/lib/python2.5/lib-dynload rshepard Slackware 3 11-12-2007 03:59 PM
audacity unable to locate required lib files present in /usr/lib/ adityavpratap Slackware 4 11-30-2006 07:06 AM


All times are GMT -5. The time now is 02:32 PM.

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