[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] make command for xymon gives error



On Thu, Dec 18, 2008 at 7:50 AM, pankaj dorlikar
<pankaj.dorlikar (at) gmail.com> wrote:
> 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

Find the libpng and add it infront of the `-lpng'. So if your libpng
is in /path/to/lib/libpng
then you should add `-L/path/to/lib' infront of `-lpng'

>
> Can you suggest me some alternative solution..
>
> On Thu, Dec 18, 2008 at 3:37 PM, Henrik Størner <henrik (at) hswn.dk> wrote:
>>
>> In <74c599800812172307v29095c39r2e0986d36533103f (at) mail.gmail.com> "pankaj
>> dorlikar" <pankaj.dorlikar (at) gmail.com> 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
>>
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe (at) hswn.dk
>>
>>
>
>
>
> --
> Pankaj V. Dorlikar
>



-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu