The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
google unix.com



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
need help on NMON in AIX manoj.solaris AIX 8 07-20-2009 01:53 AM
nmon in aix manoj.solaris AIX 2 08-04-2008 11:43 AM
Nmon jegtoro AIX 3 02-28-2008 03:46 PM
nmon habuzahra AIX 3 11-10-2006 04:16 AM
Another NMON johnf AIX 3 11-08-2006 04:54 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-27-2009
DrivesMeCrazy DrivesMeCrazy is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 16
NMON for RHEL45 WS

Hi guys,

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?

Thanks in advance.
  #2 (permalink)  
Old 08-27-2009
mark54g mark54g is offline
Registered User
  
 

Join Date: May 2008
Posts: 370
another option would be to create a symlink of your actual ncurses library to the one it is searching for.
  #3 (permalink)  
Old 11-02-2009
DrivesMeCrazy DrivesMeCrazy is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 16
Thanks for the suggestion.

I install the 32-bit libncurses found from rpm.pbone.net instead and I got a warning.
After installation, I test the nmon and it is able to work.

# rpm -i libncurses5-5.3-1.20030215.4sls.i586.rpm
warning: libncurses5-5.3-1.20030215.4sls.i586.rpm: V3 DSA signature: NOKEY, key ID 67f22696
#

Can anyone advise if this warning can be ignore?
  #4 (permalink)  
Old 11-02-2009
mark54g mark54g is offline
Registered User
  
 

Join Date: May 2008
Posts: 370
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
  #5 (permalink)  
Old 4 Weeks Ago
DrivesMeCrazy DrivesMeCrazy is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 16
Quote:
Originally Posted by mark54g View Post
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
Hi Mark,

Thanks, I did follow your suggestion above for the symlink.

I have also add /usr/lib and /usr/lib64 to $LD_LIBRARY_PATH but when i do a ldd on the nmon program, it still complaint it can't find libncurses.so.5.

I did logout and relogin again and echo $LD_LIBRARY_PATH, the path is there.

Any idea what might have gone wrong?
  #6 (permalink)  
Old 4 Weeks Ago
mark54g mark54g is offline
Registered User
  
 

Join Date: May 2008
Posts: 370
what did you to to create your symlink?

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.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:38 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0