Unable to install, make fails

Asked by Adam Stern on 2012-09-06

Greetings.

I'm currently running RHEL 6.3 and attempting to compile Percona innodb-tool.

Everything './configure's fine but when I run make, I get:
/usr/bin/ld: cannot find -lrt

I've obviously googled this and made sure that librt was installed and that the library path librt was in was included when compiling, but it still isn't working.

Any suggestions on what I should try to get this to compile?
Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Percona Data Recovery Tool for InnoDB Edit question
Assignee:
No assignee Edit question
Solved by:
Adam Stern
Solved:
2012-09-06
Last query:
2012-09-06
Last reply:
2012-09-06
Andrew Gaul (gaul) said : #1

Can you try removing -lrt from the Makefile? I believe that it is unnecessary.

Adam Stern (ym0o) said : #2

I didn't try that, but it is a good idea. I actually fixed this by yum install libaio-devel glibc-static
Thanks!