To your point I believe the issue lies with the different versions of snmpwalk 
and the newer version 5.4.2.1.  From what I can tell now if I compare the 
snmpwalk command that works with the one that does not here is what I see:

It doesn't like this one.  Comes back with no response error.

holldb20|root:/opt/iexpress/net-snmp/bin # ldd snmpwalk
        libnetsnmp.sl.16 =>     /opt/iexpress/net-snmp/lib/libnetsnmp.sl.16
        libcrypto.sl.0 =>       /lib/pa20_64/libcrypto.sl.0
        libgen.2 =>     /lib/pa20_64/libgen.2
        libnm.sl =>     /lib/pa20_64/libnm.sl
        libipv6.sl =>   /lib/pa20_64/libipv6.sl
        libc.2 =>       /lib/pa20_64/libc.2
        libcrypto.sl.0 =>       /lib/pa20_64/libcrypto.sl.0
        libc.2 =>       /lib/pa20_64/libc.2
        libgcc_s.sl =>  
/opt/hp-gcc64-4.2.1/lib/gcc/hppa64-hp-hpux11.11/4.2.1/..                        
                                                     /../../libgcc_s.sl
        libdl.1 =>      /lib/pa20_64/libdl.1
        libc.2 =>       /lib/pa20_64/libc.2
        libdl.1 =>      /usr/lib/pa20_64/libdl.1

It likes this version and runs correctly.

ldd snmpwalk
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/lib/libdld.2 =>    /usr/lib/libdld.2
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/lib/libipv6.sl =>  /usr/lib/libipv6.sl
        /usr/lib/libnm.sl =>    /usr/lib/libnm.sl
        /usr/lib/libelf.2 =>    /usr/lib/libelf.2
        /usr/lib/libgen.2 =>    /usr/lib/libgen.2
        /opt/iexpress/net-snmp/lib/libnetsnmp.sl.16 =>  
/opt/iexpress/net-snmp/lib/libnetsnmp.sl.16
        /usr/lib/libc.2 =>      /usr/lib/libc.2

Sooo, from what you are stating should I be adding /lib/pa20_64, 
/opt/iexpress/net-snmp/lib/, 
/opt/hp-gcc64-4.2.1/lib/gcc/hppa64-hp-hpux11.11/4.2.1/..                        
                                                     /../../ in order to get 
the appropriate version working?  There are no LD_LIBRARY_PATH variables set 
currently on the systems.  Hopefully this is the variable that you mean.

Paul R. Hogan
Computer System Engineer
Enterprise Information Technology
HAWORTH, INC.

One Haworth Center
Holland, MI 49423

direct  616.393.3756
fax     616.396.9389

[email protected]
www.haworth.com

NOTICE OF CONFIDENTIALITY:  The contents of this e-mail message and any 
attachments are intended for the addressee(s) named in this message.  This 
communication is intended to be and to remain confidential.  If you are not the 
intended recipient of this message, or if this message has been addressed to 
you in error, please immediately alert the sender by reply e-mail and then 
delete this message and its attachments.  Do not deliver, distribute or copy 
this message and/or any attachments and, if you are not the intended recipient, 
unless immediately and permanently deleted, recipient hereby agrees to protect 
this transmission and any documents, files or previous messages attached 
(confidential information) in the same manner in which recipient acts to 
protect his/her/its own confidential information.

-----Original Message-----
From: Mike Ayers [mailto:[email protected]] 
Sent: Thursday, January 08, 2009 8:02 PM
To: Paul Hogan; Nikos Balkanas; [email protected]
Subject: RE: Issues with snmpwalk and net-snmp 5.4.2.1 on HP UX.

> From: Paul Hogan [mailto:[email protected]] 
> Sent: Thursday, January 08, 2009 7:10 AM

> Ahhh, yes.  The humor is good.  Thanks for that.  I wish I 
> could explain why it doesn't work though...  

        Compare the paths in your build to those the system uses.  I'm guessing 
that $prefix/lib isn't in your library path (I forget which variable that is on 
HPUX - LIBPATH, maybe?), in which case you installed it to a place that won't 
be searched (you *did* `make install`, yes?).  This is why what you did worked, 
but it's still a dangerous thing to do - better to either update your search 
paths or use the various configure flags which allow you to specify which 
directories to install to so that you're using the same version everywhere.


        HTH,

Mike

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to