Thanks for your help again.
The reason why it doesn't work is that PDSLIB has some problem with both the source and binary for AIX5.2 package.
Now I download a new packaged according to their instruction as following:
-----------------------------------------------------------------------------
There is a problem with the source tar balls for AIX 5.2 and 5.3 on our
website. Until we replace them, if you need to download the source, please
download the source tar ball for AIX 5.1 or 4.3 as they contain the same
package.
If you are only installing the binaries, and are having problems with our
binary tar ball for AIX 5.2, please try installing the binary tar ball for
AIX 5.1 as that one has been tested to work on 5.2 also.
We apologize for the confusion. Please let us know if you have a
successful installation.
The PDSLIB staff.
------------------------------------------------------------------------------------
Would you please tell me some good guides/documents/links about net-snmp so that I can learn it more quickly?
Best Regards,
Tango
Thomas Anders <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 2005-09-07 21:20
|
To: net-snmp-users@lists.sourceforge.net cc: Subject: Re: NetSnmp issue on AIX5.2 |
[EMAIL PROTECTED] wrote:
> bash-2.05b# ldd /usr/local/sbin/snmpd
> /usr/local/sbin/snmpd needs:
> /usr/lib/libc.a(shr.o)
>
> /home/tango/tmp/net-snmp-5.2/snmplib/.libs/libnetsnmp.a(libnetsnmp.so.5)
>
> /home/tango/tmp/net-snmp-5.2/agent/helpers/.libs/libnetsnmphelpers.a(libnetsnmphelpers.so.5)
Although I'm not familiar with AIX (and its ldd output) in particular,
this looks plain wrong. How did you install the package, especially
/usr/local/sbin/snmpd? Did you do a proper "make install"?
Please also see http://www.freesnmp.com/net-snmp/faqs/index.html#static
on how to properly do static linking.
> I have download the latest package to build, but get the following
> error, any suggest?
[...]
> ucd-snmp/versioninfo.c:97:37: warning: character constant too long for
> its type
> ucd-snmp/versioninfo.c: In function `var_extensible_version':
> ucd-snmp/versioninfo.c:97: error: parse error before '\x61726564'
> make: 1254-004 The error code from the last command is 1.
See the list archives or Google:
http://groups.google.com/group/mailing.unix.net-snmp-coders/browse_thread/thread/a3a9f37f35f02f35/deeadf7e3bb8a2ba
I bet you did *not* apply the suggested fix from README.aix, did you?
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users