<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>All,</DIV>
<DIV> </DIV>
<DIV>I am starting to think that the emails I send to the mailinglist gets lost somewhere and won't reach the members, because I don't receive any replies and can't seem to find the thread online either. How can I ensure that this email will reach the correct mailinglist?<BR><BR>Now back to the thread, I ran the following commands, the outputs are in red. </DIV>
<DIV> </DIV>
<DIV><SPAN style="COLOR: #444444"><FONT size=3><FONT face="Times New Roman" jQuery1277215666234="37"><FONT color=#000000>1) <EM><FONT face=Verdana jQuery1277215666234="36"><FONT style="FONT-SIZE: 10pt" size=2>readelf -s /opt/collectd/lib/collectd/network.so | grep md_hash<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></EM></FONT></FONT></FONT></SPAN></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="COLOR: #444444"><o:p><FONT color=#000000 size=3 face="Times New Roman"> </FONT></o:p></SPAN></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT face="Times New Roman"><FONT color=#000000><SPAN style="mso-spacerun: yes"> </SPAN></FONT></FONT></FONT><FONT size=2><FONT face=Verdana><FONT color=#c00000>93: 00000000<SPAN style="mso-spacerun: yes"> </SPAN>0 NOTYPE<SPAN style="mso-spacerun: yes"> </SPAN>GLOBAL DEFAULT<SPAN style="mso-spacerun: yes"> </SPAN>UND gcry_md_hash_buffer<o:p></o:p></FONT></FONT></FONT></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT color=#c00000><SPAN style="mso-spacerun: yes"> </SPAN>239: 00000000<SPAN style="mso-spacerun: yes"> </SPAN>0 NOTYPE<SPAN style="mso-spacerun: yes"> </SPAN>GLOBAL DEFAULT<SPAN style="mso-spacerun: yes"> </SPAN>UND gcry_md_hash_buffer</FONT></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT color=#000000 size=3 face="Times New Roman"> </FONT></o:p></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="COLOR: #444444"><FONT size=3><FONT face="Times New Roman"><FONT color=#000000>2)<EM> <FONT face=Verdana><FONT size=2>ldd /opt/collectd/lib/collectd/network.so | grep gcry<o:p></o:p></FONT></FONT></EM></FONT></FONT></FONT></SPAN></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="COLOR: #444444"><o:p><FONT color=#000000><EM> </EM></FONT></o:p></SPAN></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="COLOR: #444444"><FONT color=#c00000>I got no output here<o:p></o:p></FONT></SPAN></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="COLOR: #444444"><o:p><FONT color=#000000 size=3 face="Times New Roman"> </FONT></o:p></SPAN></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="COLOR: #444444"><FONT size=3><FONT face="Times New Roman"><FONT color=#000000>3) <FONT face=Verdana><FONT size=2><EM>readelf -s /usr/lib/libgcrypt.so.11 | grep md_hash<o:p></o:p></EM></FONT></FONT></FONT></FONT></FONT></SPAN></DIV>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="COLOR: #444444"><BR><FONT color=#c00000>109: 00005570<SPAN style="mso-spacerun: yes"> </SPAN>115 FUNC<SPAN style="mso-spacerun: yes"> </SPAN>GLOBAL DEFAULT<SPAN style="mso-spacerun: yes"> </SPAN>11 <A href="mailto:gcry_md_hash_buffer@@GCRYPT_1.2">gcry_md_hash_buffer@@GCRYPT_1.2</A><o:p></o:p></FONT></SPAN></DIV>
<DIV><BR><BR>Please help me figuring out the issue if possible. Is there somewhere I could submit a bug or this is an issue on my end?</DIV>
<DIV> </DIV>
<DIV>Thanks in advance,</DIV>
<DIV>h</DIV>
<DIV> </DIV>
<DIV><BR>--- On <B>Mon, 6/21/10, Honia <I><honia2002@yahoo.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: Honia <honia2002@yahoo.com><BR>Subject: [collectd] network.so: undefined symbol: gcry_md_hash_buffer‏<BR>To: collectd@verplant.org<BR>Cc: octo@verplant.org<BR>Date: Monday, June 21, 2010, 6:34 PM<BR><BR>
<DIV id=yiv1476428884>
<TABLE border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD vAlign=top>
<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" rel=nofollow target=_blank>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></TBODY></TABLE></DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail>_______________________________________________<BR>collectd mailing list<BR><A href="http://us.mc507.mail.yahoo.com/mc/compose?to=collectd@verplant.org" ymailto="mailto:collectd@verplant.org">collectd@verplant.org</A><BR><A href="http://mailman.verplant.org/listinfo/collectd" target=_blank>http://mailman.verplant.org/listinfo/collectd</A><BR></DIV></BLOCKQUOTE></td></tr></table>