Rpm not working

Hi All,

I am having RHEL 5.4 64-bit OS. When I run the command " rpm --help " I get the following error. Please help:

rpm: /usr/lib64/libpopt.so.0: no version information available (required by rpm)
rpm: /usr/lib64/libpopt.so.0: no version information available (required by /usr/lib64/librpmbuild.so.1)
rpm: /usr/lib64/libpopt.so.0: no version information available (required by /usr/lib64/librpm.so.1)
rpm: /usr/lib64/libpopt.so.0: no version information available (required by /usr/lib64/librpmio.so.1)
rpm: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /usr/lib64/liblua-5.1.so)
rpm: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by /usr/lib64/liblua-5.1.so)

Thanks in advance.

I'm cofused, didnt know that rpm requires lua, as this message seems like...

Did you try to install glibc?

sudo yum install -y glibc

If that doesnt work what is the output of:

rpm -qa rpm

and

su
yum history list| grep -ie erea -ie dele -ie remo

hth