<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV id=yiv272400108>
<DIV>Hi all,</DIV>
<DIV><BR>(I posted this question before but i think my email address got some issues and i never found the post anywhere, it was probably sent to the wrong addree, my apologies in advanced if you all received this before):<BR> <BR>I installed libgcrypt-1.4.5 on two CentOS 5 machines. Then followed by installing collectd-4.10.0 on the same machines (one to be the server and the other one as the client):<BR> <BR>1) <EM>Configured collectd: ./configure --with-librrd=/opt/rrdtool-1.4.3/ --with-liboping=/opt/oping --with-libnetlink=/home/username/iproute2-2.6.29-1 --with-libgcrypt=/usr/<BR><BR></EM>In the library section of the build output, I found that libgcrypt was installed.<BR> <BR>2) Then ran <EM>make</EM> followed by <EM>make install</EM> <BR><BR>3) Here's a part of config.log:</DIV>
<DIV> </DIV><SPAN lang=EN>
<DIV>configure:18317: checking gcrypt.h usability</DIV>
<DIV>configure:18317: gcc -c -g -O2 -I/usr/include conftest.c >&5</DIV>
<DIV>configure:18317: $? = 0</DIV>
<DIV>configure:18317: result: yes</DIV>
<DIV>configure:18317: checking gcrypt.h presence</DIV>
<DIV>configure:18317: gcc -E -I/usr/include conftest.c</DIV>
<DIV>configure:18317: $? = 0</DIV>
<DIV>configure:18317: result: yes</DIV>
<DIV>configure:18317: checking for gcrypt.h</DIV>
<DIV>configure:18317: result: yes</DIV>
<DIV>configure:18335: gcrypt LDFLAGS: -L/usr/lib</DIV>
<DIV>configure:18338: checking for gcry_md_hash_buffer in -lgcrypt</DIV>
<DIV>configure:18363: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib conftest.c -lgcrypt -ldl >&5</DIV>
<DIV>configure:18363: $? = 0</DIV>
<DIV>configure:18372: result: yes</DIV>
<DIV>configure:18398: checking for libgcrypt-config</DIV>
<DIV>configure:18416: found /usr/local/bin/libgcrypt-config</DIV>
<DIV>configure:18429: result: /usr/local/bin/libgcrypt-config</DIV>
<DIV>configure:18446: checking for LIBGCRYPT - version >= 1.2.0</DIV>
<DIV>configure:18480: result: yes (1.4.5)</DIV>
<DIV>configure:18492: checking LIBGCRYPT API version</DIV>
<DIV>configure:18495: result: okay</DIV>
<DIV> </DIV>
<DIV><BR>4) Created a file named auth_file and put in in /opt/collectd/etc directory. The file has one line in it:</DIV>
<DIV> </DIV>
<DIV>client1: password1<BR><BR></DIV>
<DIV>5) Configured collectd.conf on the server and this is the network plugin: <BR> <BR><Plugin "network"><BR> <Listen "[Server's IP address here]" "25826"><BR> SecurityLevel "Sign"<BR> AuthFile "/opt/collectd/etc/auth_file"<BR> </Listen><BR></Plugin><BR></SPAN> <BR>6) Configured collectd.conf on the client and this is the network plugin: <BR> <BR><Plugin network> <BR> <Server "[IP adress here]" "25826"> <BR> SecurityLevel "Sign" <BR> Username "client1" <BR> Password "password1" <BR> </Server> <BR></Plugin> <BR><BR>4) Restarted collectd and got the following error: <BR><BR>Stopping collectd:
[FAILED] <BR>Starting collectd: /opt/collectd/sbin/collectd: symbol lookup error: /opt/collectd/lib/collectd/network.so: undefined symbol: gcry_md_hash_buffer </DIV>
<DIV> </DIV>
<DIV><BR>I contacted libgcrypt-devel people and they said since libgcrypt-1.4.5 was installed properly, most likely it is a collectd bug... Here you can see the discussion:<BR><BR><A href="http://old.nabble.com/network.so%3A-undefined-symbol%3A-gcry_md_hash_buffer%E2%80%8F-td28879871.html#a28915686">http://old.nabble.com/network.so%3A-undefined-symbol%3A-gcry_md_hash_buffer%E2%80%8F-td28879871.html#a28915686</A></DIV>
<DIV> </DIV>
<DIV>I would really appreciate it if someone could please help me with this problem.</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Honia<BR> </DIV>
<DIV> </DIV></DIV></td></tr></table>