More 5.2.1 compile woes

"Mohr James" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi All!

I am trying to compile 5.2.1 on Red Hat Enterprise Linux ES release 4
(Nahant Update 1) without SSL. My configure looks like this:

./configure   --without-openssl [email protected]
--with-sys-location="Elaxy Datacenter"  --with-default-snmp-version=1
--with-logfile=/var/log/snmpd.log
--with-persistent-directory=/var/net-snmp
--with-copy-persistent-files=no --with-mib-modules="host"  

The configure looks fine, but when I compile, it bombs out with this:

/bin/sh ../libtool  --mode=link gcc -g -O2 -Dlinux -I/usr/include/rpm
-o snmpd snmpd.lo    libnetsnmpmibs.la libnetsnmpagent.la
helpers/libnetsnmphelpers.la  ../snmplib/libnetsnmp.la -ldl -lrpm
-lrpmio -lpopt  -lbz2 -lz -lm
libtool: link: cannot find the library `/usr/lib/libbeecrypt.la'
(librpmio.la: /usr/lib/libbeecrypt.la)
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory `/opt/INSTALL/SNMP/net-snmp-5.2.1/agent'
make: *** [subdirs] Error 1

My initial thought was that there was a problem with OpenSSL. I have had
cases, where I had to include ikt ( --with-openssl) in order to compile.
It seems that if certain conditions exist, the compile (configure?) will
try to include opensll even with "--without-openssl". Here are the crypt
related packages that are installed:

rpm -qa | grep -i crypt
cryptsetup-0.1-4
crypto-utils-2.1-4
perl-Crypt-SSLeay-0.51-5
beecrypt-3.1.0-6
libgcrypt-1.2.0-3

beecrypt-devel seems to be missing. Could this be the problem? 

Doing a "grep -i ssl config.log", I have this:

#define HAVE_OPENSSL_AES_H 1
#define HAVE_OPENSSL_DES_H 1
#define HAVE_OPENSSL_DH_H 1
#define HAVE_OPENSSL_EVP_H 1
#define HAVE_OPENSSL_HMAC_H 1

So something having to do with SSL  is being defined. 

Rather than digging through the source code, does anyone have a quick
answer/solution? Is there any way to tell the configure "I absolutely do
not want anything to do with SSL and encryption"? Thanks in advance.

Regards,

Jim Mohr


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
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.