Ethereal-users: [Ethereal-users] Re: sprintf_realloc_objid

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

From: Yet Another Geek <yetanothergeek@xxxxxxxxx>
Date: Sun, 1 Sep 2002 23:54:03 -0700 (PDT)
On Wed, Aug 21, 2002 at 08:47:56AM -0400,
mclinden@xxxxxxxxxxxx wrote:

> I am compiling ethereal-0.9.6 with ucd-snmp-4.2.5 
> and get the error:
> 
> UCD SNMP header files found, but print_realloc_objid
> not found in SNMP library 

Hello, Sean -

I ran into the same problem on my system.

Just before the script fails, the config.log shows:

/usr/local/lib/libsnmp.so: undefined references to... 
EVP_DigestInit
EVP_DigestFinal
EVP_md5
HMAC
EVP_sha1
des_cbc_encrypt
des_key_sched
EVP_DigestUpdate
RAND_bytes
des_ncbc_encrypt

... These are defined in libssl, not in libsnmp!

The problem is that the linker is not finding libssl,
which makes configure think that sprint_realloc_objid
is missing when the build fails.

So I tried this, and the build went fine:


./configure --with-ssl=/usr/ssl 


 - Of course, the ssl directory may be 
   somewhere else on your system.

Hope this helps...

 - Jeff Pohlmeyer


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com