Ethereal-dev: Re: [Ethereal-dev] Adding -lkstat unconditionally when checking for snmp routine

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Richard Sharpe <rsharpe@xxxxxxxxxxxxxxxxx>
Date: Thu, 28 Aug 2003 11:48:01 -0700 (PDT)
On Thu, 28 Aug 2003, Guy Harris wrote:

> 
> On Thursday, August 28, 2003, at 9:43 AM, Richard Sharpe wrote:
> 
> > Requiring libkstat.* on Linux does not seem to be good ...
> 
> *Do* we require it?  I believe we first try just "-lsnmp" and, if that 
> fails, we try "-lsnmp -lkstat".  If linking only with "-lsnmp" on Linux 
> doesn't work, perhaps we need to try more than just "-lkstat" as 
> additional libraries.
> 
> If you're referring to the requirement for a crypto library, that's 
> currently handled with the "--with-ssl" option; I'm not sure there's a 
> good reason why we require users on Linux to specify that option, 
> rather than just trying "-lsnmp -lcrypto" as well as "-lsnmp -lkstat".

OK, I could not read the stuff in aclocal.m4. It does look like we are 
looking for -lsnmp first and then -lsnmp -lkstat after that.

The problem I had, I think, was that certain DES routines are required 
that on RH9 seem to be in Kerberos compat libs 
(/usr/kerberos/lib/libdes425.*) and that was confusing me as well.

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com