Ethereal-users: Re: [Ethereal-users] problem finding snmp libraries

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

From: "Gilbert Ramirez" <gram@xxxxxxxxxx>
Date: Tue, 24 Apr 2001 17:15:02 -0500
Yep, it's missing the crypto-related symbols. (-lcrypto)
--gilbert

> configure:3933: checking for sprint_objid in -lsnmp
> configure:3953: gcc -o conftest -Wall -g -O2 -I$(top_srcdir)
> -I$(top_srcdir)/wiretap -I$(top_srcdir)/epan -I/usr/local/include
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -I/usr/X11R6/include  -I$(top_srcdir) -I$(top_srcdir)/wiretap
> -I$(top_srcdir)/epan -I/usr/local/include  -L/usr/local/lib conftest.c
> -lsnmp   
> -lz  1>&5
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
> reference to `EVP_DigestInit'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
> reference to `EVP_DigestFinal'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
> reference to `EVP_md5'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
> reference to `HMAC'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
> reference to `EVP_sha1'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
> reference to `des_cbc_encrypt'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
> reference to `des_key_sched'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
> reference to `EVP_DigestUpdate'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
> reference to `RAND_bytes'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
> reference to `des_ncbc_encrypt'
> collect2: ld returned 1 exit status
>