[collectd] librrd needs now libpng

Florian Forster octo at verplant.org
Fri Nov 24 10:23:26 CET 2006


Hi Niki,

On Wed, Nov 22, 2006 at 06:43:39PM +0100, Niki W Waibel wrote:
> it seems that the latest version (1.2.15) of rrdtool needs
> -lpng. during configure, collectd does the librrd check
> without adding -lpng -> fails always:

> but you might want to
>  * check if librrd works without -lpng
>  * check if librrd works with -lpng (and add -lpng)
>  * fail and assume, that there is no librrd
> which makes things more complicated as in the patch above.
> 
> it's strange that -lpng needs to be specified, because the other libs, librrd depends on:
> ===
> $ ldd /opt/newlogic/sparc-sun-solaris2.10/lib/librrd.so
>         libpng12.so.0 =>         /opt/newlogic/sparc-sun-solaris2.10/lib/libpng12.so.0
>         libm.so.2 =>     /lib/libm.so.2
>         libart_lgpl_2.so.2 =>    /opt/newlogic/sparc-sun-solaris2.10/lib/libart_lgpl_2.so.2
>         libfreetype.so.6 =>      /opt/newlogic/sparc-sun-solaris2.10/lib/libfreetype.so.6
>         libz.so.1 =>     /opt/newlogic/sparc-sun-solaris2.10/lib/libz.so.1
>         libc.so.1 =>     /lib/libc.so.1
> ===
> do not need to be specified. maybe that's because libpng uses versioned symbols now...

great *sigh*.. I guess I'll do your proposed autoconf stuff, because
librrd 1.0.* (which I still prefer because it has much less dependencies
and 1.2.* doesn't provide any new features I need) does not need the
`libpng'.

I didn't find a `rrd-config' script that could be used to automatically
get needed libraries. Did I look in the wrong places?

Thanks for the hint, I'll take care of it..
Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- 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/20061124/a3589a46/attachment-0001.pgp


More information about the collectd mailing list