Results 1 to 2 of 2
Hi all,
I am new here, hopefully this is the right section to post my question.
I am installing collectd-4.10.0 on a CentOS 5 machine. On the same machine I ...
- 06-21-2010 #1Just Joined!
- Join Date
- Nov 2007
- Posts
- 10
Shared object undefined symbol - please help!
Hi all,
I am new here, hopefully this is the right section to post my question.
I am installing collectd-4.10.0 on a CentOS 5 machine. On the same machine I have installed libgcrypt-1.4.5. Both installation were successful but when I try to start collectd service, I get the following error:
Can someone please help me with this? I would really appreciate it.Code:Starting collectd: /opt/collectd/sbin/collectd: symbol lookup error: /opt/collectd/lib/collectd/network.so: undefined symbol: gcry_md_hash_buffer
- 06-21-2010 #2Just Joined!
- Join Date
- Nov 2007
- Posts
- 10
I ran the following four commands to diagnose the problem :
1)Code:readelf -s /opt/collectd/lib/collectd/network.so | grep md_hash 93: 00000000 0 NOTYPE GLOBAL DEFAULT UND gcry_md_hash_buffer 239: 00000000 0 NOTYPE GLOBAL DEFAULT UND gcry_md_hash_buffer
2)I got no output hereCode:ldd /opt/collectd/lib/collectd/network.so | grep gcry
3)Code:readelf -s /usr/lib/libgcrypt.so.11 | grep md_hash 109: 00005570 115 FUNC GLOBAL DEFAULT 11 gcry_md_hash_buffer@@GCRYPT_1.2
4)Sorry for posting the commands separately, for some reasons the forum wasn't letting me to post all the data at once. (was complaining about me having URLs to another website which wasn't true)Code:ldd /opt/collectd/lib/collectd/network.so linux-gate.so.1 => (0x00691000) libpthread.so.0 => /lib/libpthread.so.0 (0x00eb6000) libdl.so.2 => /lib/libdl.so.2 (0x00d47000) libc.so.6 => /lib/libc.so.6 (0x00110000) /lib/ld-linux.so.2 (0x002c3000)
Thanks in advance,
Regards,
TezLast edited by tezarin; 06-21-2010 at 06:51 PM. Reason: adding more commands


Reply With Quote