I am trying to build libnetsnmp, libnetsnmpagent and libnetsnmpmibs on a
RHEL 5.10 platform using OpenSSL version 1.0.1g libraries previously
compiled on the same platform.

I have tried may combinations of the configure statement, the latest
being:

CPPFLAGS="-I/builds/.dev/IDS-DEV-14.0.3.0-Build-7/servers.d/third_party/include"
LDFLAGS="-L/builds/.dev/IDS-DEV-14.0.3.0-Build-7/servers.d/third_party/lib"
./configure --disable-agent --disable-applications
--with-cflags="-I/builds/.dev/IDS-DEV-14.0.3.0-Build-7/servers.d/third_party/include"
--with-openssl="/builds/.dev/IDS-DEV-14.0.3.0-Build-7/servers.d/third_party/lib"
--with-default-snmp-version="2" --with-sys-contact="t...@xxxxxx.net"
--with-sys-location="XXXXXX" --with-logfile="/var/log/snmpd.log"
--with-persistent-directory="/var/net-snmp" --with-perl-modules=no
--disable-embedded-perl

The problem I have is that no matter what combination of configure options
I try I get libraries that pull in the standard system version of libssl
and libcrypto.

The following is from an "ldd" on each of the libraries:

==========================================  libnetsnmpagent.so.30.0.2
    libcrypto.so.1.0.0 => /lib/libcrypto.so.1.0.0 (0x001ba000)
    libcrypto.so.6 => /lib/libcrypto.so.6 (0x004e0000)

==========================================  libnetsnmpmibs.so.30.0.2
    libcrypto.so.1.0.0 => /lib/libcrypto.so.1.0.0 (0x004b6000)
    libcrypto.so.6 => /lib/libcrypto.so.6 (0x00999000)

==========================================  libnetsnmp.so.30.0.2
    libcrypto.so.1.0.0 => /lib/libcrypto.so.1.0.0 (0x002bb000)

libnetsnmp seems to be right, but libnetsnmpmibs and libnetsnmpagent are
not.

Any help for the feeble minded would be helpful.

Thanks in advance
Rick Phillips
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to