Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Pooler compilation error

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
jecete



Joined: 09 Jan 2002
Posts: 4

PostPosted: Thu Mar 06, 2003 9:38 am    Post subject: Pooler compilation error Reply with quote

Hi,

Im trying to compile the new 0.8 poller but it keeps giving me the following error:

cc snmp.o sighandler.o poller.o targets.o util.o conf.o threads.o main.o -o
cactid -L/usr/local/mysql/lib/mysql -L/usr/lib -L/usr/local/rrdtool/lib
-L/usr/lib -lmysqlclient -lrrd -lpthread -lsnmp

/usr/lib/libsnmp.so: undefined reference to `EVP_DigestInit'
/usr/lib/libsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/lib/libsnmp.so: undefined reference to `EVP_md5'
/usr/lib/libsnmp.so: undefined reference to `HMAC'
/usr/lib/libsnmp.so: undefined reference to `EVP_sha1'
/usr/lib/libsnmp.so: undefined reference to `des_cbc_encrypt'
/usr/lib/libsnmp.so: undefined reference to `des_key_sched'
/usr/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate'
/usr/lib/libsnmp.so: undefined reference to `RAND_bytes'
/usr/lib/libsnmp.so: undefined reference to `des_ncbc_encrypt'
collect2: ld returned 1 exit status

i'm using net-snmp-5.0.6.

thanks
Back to top
bulek
Cacti Pro User


Joined: 20 May 2002
Posts: 852
Location: Poland

PostPosted: Thu Mar 06, 2003 11:41 am    Post subject: Reply with quote

You need to link OpenSSL library to get rid off undefined references.

- bulek
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group