LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rpm not working (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-not-working-4175534376/)

omniok 02-18-2015 12:47 AM

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.

veerain 02-18-2015 12:53 AM

You are missing 64bit version of popt as well as glibc packages. Install them.

Also try run:

Code:

ldconfig /lib64
Check if it helps.

Edited.

omniok 02-18-2015 01:10 AM

Thanks veerain, the correct command is "ldconfig" and not "ldocnfig"

The output of this command is as mentioned below. However, "rpm --help" gives the same error as mentioned earlier.

[root@bkpdrill ~]# ldconfig /lib64
ldconfig: /usr/lib64/liblzma.so.0 is not a symbolic link

[root@bkpdrill ~]#


All times are GMT -5. The time now is 10:12 PM.