> The differences I observe are:
>    1. The libnetsnmp... files I build are significantly bigger than the
> corresponding files from the RPM installation

That's probably because:

    $ file /usr/lib/libnetsnmp.so.5.0.9
    /usr/lib/libnetsnmp.so.5.0.9: ELF 32-bit LSB shared object,
        Intel 80386, version 1 (SYSV), stripped
                                       ^^^^^^^^

We don't automatically strip our libraries.


>    2. When I link my agent against my build and ty to start it I get the
> error:
>         relocation error: /usr/lib/libnetsnmpagent.so.5: undefined symbol:
> boot_DynaLoader
>        When linked against the libs from the RPM I don't get that error.


I'd strongly suggest that you remove the installed RPM before trying
to work with the compiled version.   That looks suspiciously as if your
agent (5.1.1, build from source) is linking with the RedHat-provided
library (5.0.9).
   While this probably ought to work, it is very susceptible to subtle
differences between the two.

It'd be a lot safer to remove the RedHat-provided libraries before
you compile your source tree.

Dave



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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