LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   failed to run vmstat (https://www.linuxquestions.org/questions/linux-software-2/failed-to-run-vmstat-681548/)

UltraSoul 11-06-2008 10:39 AM

failed to run vmstat
 
Hi, all

RHEL AS4 U4 is on my PC box and vmstat can not be successfully executed. And it told me that can not load shared library libproc-3.2.3.so ==> No such file or directory.

ldd told me that the shared library of libproc-3.2.3.so can not be found.

# ldd /usr/bin/vmstat
linux-gate.so.1 => (0xffffe000)
libproc-3.2.3.so => not found
libc.so.6 => /lib/tls/libc.so.6 (0x00a8d000)
/lib/ld-linux.so.2 (0x00a49000)

But I found the package has been installed as follows. Any idea?
Is it better to reinstall procps rpm?

# rpm -qa | grep procps
procps-3.2.3-8.4

# rpm -ql procps-3.2.3-8.4
/bin/ps
/lib64/libproc-3.2.3.so <<=*** It is there, but vmstat can not found it
/sbin/sysctl
/usr/bin/free
/usr/bin/pgrep
/usr/bin/pkill
/usr/bin/pmap
/usr/bin/skill
/usr/bin/slabtop
/usr/bin/snice
/usr/bin/tload
/usr/bin/top
/usr/bin/uptime
/usr/bin/vmstat
....

# ls -ld /lib64/libproc-3.2.3.so
-rwxr-xr-x 1 root root 57304 Oct 28 10:43 /lib64/libproc-3.2.3.so

UltraSoul 11-06-2008 03:19 PM

Sorry, I have fixed the problem above by re-installing the procps package.

http://www.linuxquestions.org/questi...roblem-626106/


All times are GMT -5. The time now is 12:01 AM.