Re: Traps posted by an agentx subagent does not reach to snmptrapd

"Juan Carlos Franzoy" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Well. First of all. Then are different:
$ ls -l /usr/sfw/sbin/snmpd /usr/sfw/sbin/i86/snmpd
-rwxr-xr-x   1 root     bin        34544 May 16  2007
/usr/sfw/sbin/i86/snmpd
-rwxr-xr-x   1 root     bin         5236 May 16  2007 /usr/sfw/sbin/snmpd
$ cmp /usr/sfw/sbin/snmpd /usr/sfw/sbin/i86/snmpd
/usr/sfw/sbin/snmpd /usr/sfw/sbin/i86/snmpd differ: char 25, line 1

I think they were "configured" in different ways:

$ ldd /usr/sfw/sbin/snmpd
        libc.so.1 =>     /lib/libc.so.1
        libm.so.2 =>     /lib/libm.so.2
$ ldd /usr/sfw/sbin/i86/snmpd
        libnetsnmpagent.so.5 =>  /usr/sfw/lib/libnetsnmpagent.so.5
        libnetsnmpmibs.so.5 =>   /usr/sfw/lib/libnetsnmpmibs.so.5
        libnetsnmphelpers.so.5 =>        /usr/sfw/lib/libnetsnmphelpers.so.5
        libnetsnmp.so.5 =>       /usr/sfw/lib/libnetsnmp.so.5
        libkvm.so.1 =>   /usr/lib/libkvm.so.1
        libz.so.1 =>     /usr/lib/libz.so.1
        libpkcs11.so.1 =>        /usr/lib/libpkcs11.so.1
        libkstat.so.1 =>         /lib/libkstat.so.1
        libelf.so.1 =>   /lib/libelf.so.1
        libm.so.2 =>     /lib/libm.so.2
        libdl.so.1 =>    /lib/libdl.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libadm.so.1 =>   /lib/libadm.so.1
        libc.so.1 =>     /lib/libc.so.1
        libcryptoutil.so.1 =>    /usr/lib/libcryptoutil.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1

Can I find out the "configure" options used to build snmpd, like gcc
--version?

2008/8/19 Thomas Anders <[email protected]>

> Juan Carlos Franzoy wrote:
> > $ file /usr/sfw/sbin/snmpd
> > /usr/sfw/sbin/snmpd: ELF 32-bit LSB executable 80386 Version 1,
> > dynamically linked, not stripped
> >
> > $ file /usr/sfw/sbin/i86/snmpd
> > /usr/sfw/sbin/i86/snmpd: ELF 32-bit LSB executable 80386 Version 1,
> > dynamically linked, not stripped
>
> So what's the difference between the two, then?
> What's the output of running "ls -l" and "ldd" on them?
>
>
> +Thomas
>



-- 
Juan Carlos Franzoy
Licenciado en Sistemas

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.