Does not compile on RHEL6.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Data Recovery Tool for InnoDB |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The tools don't compile on RHEL6.1, but they do fine on CentOS5.7. Here are the important differences (both ec2 instances):
===== CentOS 5.7 =====
%> gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-51)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
%> ld --version
GNU ld version 2.17.50.0.6-14.el5 20061020
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
%> cat /etc/*release
CentOS release 5.7 (Final)
===== RHEL 6.1 =====
%> gcc --version
gcc (GCC) 4.4.5 20110214 (Red Hat 4.4.5-6)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
%> ld --version
GNU ld version 2.20.51.
Copyright 2009 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
%> cat /etc/*release
Red Hat Enterprise Linux Server release 6.1 (Santiago)
Red Hat Enterprise Linux Server release 6.1 (Santiago)
===== FAILURE =====
%> bzr branch https:/
%> cd trunk
%> make
...
make[1]: Leaving directory `/root/
ln -fs ../mysql-
gcc -DHAVE_OFFSET64_T -D_FILE_
gcc -DHAVE_OFFSET64_T -D_FILE_
/usr/bin/ld: cannot find -lrt
collect2: ld returned 1 exit status
make: *** [page_parser] Error 1
Changed in percona-data-recovery-tool-for-innodb: | |
status: | New → Invalid |
Ryan,
please make sure that libaio and librt are installed