Dear Hernik,
Thanks for your Support..but i already have this setting..
configure.server:echo "RRDLIBS = -L$RRDLIB -lrrd $PNGLIB" >>Makefile
Makefile:RRDLIBS = -L/usr/local/rrdtool-1.3.4/lib -lrrd -L/usr/lib -lpng
Can you suggest me some alternative solution..
On Thu, Dec 18, 2008 at 3:37 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
In <user-098ee3eac2e3@xymon.invalid> "pankaj
dorlikar" <user-93d3572686c4@xymon.invalid> writes:
I ma new to xymon/hobbit...
"make " commad for xymon gives fallowing error :
/usr/local/rrdtool-1.3.4/lib/libcairo.so.2: undefined reference to
`png_set_tIME at PNG12_0'
/usr/local/rrdtool-1.3.4/lib/libcairo.so.2: undefined reference to
`png_set_write_user_transform_fn at PNG12_0'
/usr/local/rrdtool-1.3.4/lib/libcairo.so.2: undefined reference to
`png_set_strip_16 at PNG12_0'
collect2: ld returned 1 exit status
make[1]: *** [hobbitgraph.cgi] Error 1
Try changing the "RRDLIBS" setting in the top-level "Makefile",
add "-lpng" at the end of the line.
I know rrdtool in version 1.3.x requires a lot of different
libraries to work, and it apparently does not pull them into
the linker automatically (depends on what type of system you're
compiling this on).
Regards,
Henrik
--
Pankaj V. Dorlikar