as per subject i am setting up NMON for the above OS but it is 64-bit Linux.
I downloaded the 32-bit NMON for RHEL45 as it is the only one available for RHEL45.
However, I ran into problem with the binary file.
# ./nmon_x86_rhel45
./nmon_x86_rhel45: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
# rpm -qa | grep curse
ncurses-5.4-13
I guess I need to install the 32-bit libncurses.so.5 rpm?
Btw, where is a good source to download it?
Doing what you are doing can break things. You should not install rpms for a version of OS other than the one you are using. I had told you what to do.
You are doing this wrong.
Find the version of libcurses that came with the system and create a symlink in /usr/lib
like this:
ln -s <path to the libncurses> libncurses.so.5
if you are in the /usr/lib dir which is where it belongs
if you do an ll in /usr/lib do you see libncurses.so.5 as a link to libncurses.so or some other file?
Also, you do not need to use LD_LIBRARY_PATH as there is an ld.so.conf file as well as the fact that /lib and /usr/lib are default searched.
Create a symlink in /usr/lib directory and point to the 64-bit library libncurses.
# ls -l /usr/lib/libncurses*
lrwxrwxrwx 1 root root 28 Nov 10:50 libncurses.so.5 -> /usr/lib64/libncurses.so.5.4
I just check the /etc/ld.so.conf, it only had an include statement "include ld.so.conf.d/*.conf".
Inside this directory, there is only 2 files mysql-x86_64.conf and xorg-x11-x86_64.conf.
I think this should be the cause of not able to find the path to libncurses since no /lib and /usr/lib was mentioned?
Below is what it said:
If you have 64 bit processors and you are running a 64 bit Linux then you can still run the 32 bit nmon for Linux but only if you have the 32 bit compatibility Linux libraries installed.