Re: undefined reference in libnetsnmp

2005-02-23 Thread Robert Story
On Wed, 23 Feb 2005 09:09:04 +0800 Jim wrote: JS>Thanks a lot. It works. One question - how do I know which library I JS>should include? You could use the net-snmp-config tool to report them. Try running net-snmp-config --libs JS> How do you normally trace and find out which lib

RE: undefined reference in libnetsnmp

2005-02-22 Thread Jim Su
, 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

Re: undefined reference in libnetsnmp

2005-02-22 Thread Robert Story
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: Archive:

undefined reference in libnetsnmp

2005-02-22 Thread Jim Su
Hi Greeting: I wrote a simple net-snmp trap program using net-snmp-5.1.1. library. I got the compilation error as following - /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestInit' /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestFinal' /usr/local/lib/libnets