Unable to install, make fails

Asked by Adam Stern

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:
Last query:
Last reply:
Revision history for this message
Andrew Gaul (gaul) said :
#1

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

Revision history for this message
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!