Xymon Mailing List Archive search

make command for xymon gives error

5 messages in this thread

list Pankaj Dorlikar · Thu, 18 Dec 2008 12:37:12 +0530 ·
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
make[1]: Leaving directory `/home/xymon/xymon-4.2.2-RC1/web'
make: *** [web-build] Error 2
please help me

-- 


-- 
Pankaj V. Dorlikar
list Henrik Størner · Thu, 18 Dec 2008 10:07:38 +0000 (UTC) ·
quoted from Pankaj Dorlikar
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
list Pankaj Dorlikar · Thu, 18 Dec 2008 18:20:15 +0530 ·
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..
quoted from Henrik Størner

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
list Paul Root · Thu, 18 Dec 2008 07:41:36 -0600 ·
downgrade to rrdtools 1.2.x.   
 
1.2.19 worked fine for me.
 

Paul Root         IM/MNS Infrastructure    
quoted from Pankaj Dorlikar

 
	From: pankaj dorlikar [mailto:user-93d3572686c4@xymon.invalid] 
	Sent: Thursday, December 18, 2008 6:50 AM
	To: user-ae9b8668bcde@xymon.invalid
	Subject: Re: [hobbit] make command for xymon gives error
	
	
	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
	

This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.
list Asif Iqbal · Thu, 18 Dec 2008 09:08:41 -0500 ·
On Thu, Dec 18, 2008 at 7:50 AM, pankaj dorlikar
quoted from Paul Root
<user-93d3572686c4@xymon.invalid> 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'
quoted from Paul Root
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
-- 

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