Wes Hardaker wrote:
>>>>>> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes:
>
> That's actually why I never applied that patch, even though I looked
> at it a few times. It was adding a linker flag to the compile time
> routines that is unknown as to where it is supported. I failed to see
> how that was at all portable.
What special linker flag? I think it rather changes library dependencies
in a way that if libnetsnmpxxx uses libfoo, it now depends on it
directly rather than relying on the final application to link with libfoo:
bar# ldd /my/net-snmp-5.3.x/lib/libnetsnmp.so
linux-gate.so.1 => (0xffffe000)
libc.so.6 => /lib/libc.so.6 (0xb7d30000)
/lib/ld-linux.so.2 (0x80000000)
bar# ldd /my/net-snmp-main/lib/libnetsnmp.so
linux-gate.so.1 => (0xffffe000)
libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7dc3000)
libc.so.6 => /lib/libc.so.6 (0xb7ca3000)
libdl.so.2 => /lib/libdl.so.2 (0xb7c9f000)
/lib/ld-linux.so.2 (0x80000000)
(note dependency on libcrypto in MAIN vs. none in V5-3-patches).
Patch details:
http://net-snmp.cvs.sourceforge.net/net-snmp/net-snmp/snmplib/Makefile.in?r1=5.27&r2=5.29
http://net-snmp.cvs.sourceforge.net/net-snmp/net-snmp/agent/Makefile.in?r1=5.19&r2=5.20
http://net-snmp.cvs.sourceforge.net/net-snmp/net-snmp/configure.in?r1=5.217&r2=5.218
This has major implications both on our build and on the users, so I
think it needs consensus, a few more changes here (net-snmp-config) and
there (e.g. build now fails on some platforms due to dependent
libnetsnmphelpers not being found when linking snmpd) and a good amount
of further testing.
That said, I think in the end it's a Good Thing To Do.
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders