LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 11:29 AM   #1
ufmale
Member
 
Registered: Feb 2007
Posts: 386

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, 01:51 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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

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


Reply



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/libXpm.so when searching for -lXpm sqn Linux - Server 2 05-12-2009 03:53 AM
[SOLVED] No _sqlite3.so 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:51 AM.

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
Open Source Consulting | Domain Registration