[collectd] error while installing collectd

Sebastian Harl sh at tokkee.org
Thu Oct 30 09:27:34 CET 2008


Hi Prasanth,

On Thu, Oct 30, 2008 at 11:27:35AM +0530, Prasanth Vaidyaraj wrote:
> /bin/sh ../libtool --tag=CC   --mode=link gcc -Wall -Werror -g -O2 -module -avoid-version -liptc  -o iptables.la -rpath /opt/collectd/lib/collectd iptables.lo
> gcc -shared  .libs/iptables.o  -liptc  -Wl,-soname -Wl,iptables.so -o .libs/iptables.so
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/libiptc.a(libip4tc.o): relocation R_X86_64_32S against `iptc_free' can not be used when making a shared object; recompile with -fPIC
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/libiptc.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[3]: *** [iptables.la] Error 1
> make[3]: Leaving directory `/tmp/collectd-4.4.4/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/tmp/collectd-4.4.4/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/tmp/collectd-4.4.4/src'
> make: *** [all-recursive] Error 1
> 
> Due to this I am not able to proceed further on using collectd. Please
> can anyone let me know the procedure to fix this issue.

This is explained in the collectd FAQ, see [1].

HTH,
Sebastian

[1] http://collectd.org/faq.shtml#faq:static_libs

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20081030/c2d39e5f/attachment.pgp 


More information about the collectd mailing list