Hi Robert:

   Thanks a lot. It works. One question - how do I know which library I should 
include? How do you normally trace and find out which library is missing? Any 
tool? 

Thanks again,
Jim

-----Original Message-----
From: Robert Story [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 22, 2005 10:00 PM
To: Jim Su
Cc: Net-Snmp-Users
Subject: Re: undefined reference in libnetsnmp

On Tue, 22 Feb 2005 17:41:24 +0800 Jim wrote:
JS> /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestInit'
JS> [...]
JS>      I have the -lnetsnmp in my Makefile.

You also need -lcrypto.

--
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> 
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different.

Reply via email to