[mrtg] Re: install problem / initial run problem - more info
Ron Cripe
rcripe at dlsserver.dupagels.lib.il.us
Wed May 15 18:24:59 MEST 2002
Hello all,
I don't think I expressed my question very well yesterday, and today on
closer inspection and rethinking my question, I don't think the question I
asked yesterday was the correct question at all. Let me try again with more
information. :)
I had run mrtg successfully on a Solaris 7 server. mrtg had already been in
place there, I only went through a download and update process once for
mrtg.
On the newly installed Solaris 8, I seem to be having trouble getting all of
the pieces and parts together to allow mrtg to run properly. I thought I
would go with the most current releases of all of the supporting software.
I think this is where I am getting into trouble.
Here are the versions of everything I am installing for mrtg:
zlib 1.1.4
libpng 1.2.2
gd 1.8.4
GCC 2.95.3
perl 5.6.1
MRTG 2.9.17
Because of the error message I receive when running mrtg, I had first
thought I had a libpng problem.
Here is the message:
libpng appears to be the application complaining at run time or is does the
bottom line mean gd is complaining? I'm not sure.
>> libpng warning: Application was compiled with png.h from libpng-1.0.6
>> libpng warning: Application is running with png.c from libpng-1.2.0
>> gd-png: fatal libpng error: Incompatible libpng version in application
and library
I do not have a previous installation of libpng on this Solaris 8 system.
When I search for the png.* files I find both png.c and png.h files are in
/export/home/username/libpng-1.2.2/libpng.
When I look at the only png.h and png.c files I have, I see they both are
rev 1.2.2.
* png.h - header file for PNG reference library
*
* libpng version 1.2.2 - April 15, 2002
* Copyright (c) 1998-2002 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
* png.c - location for general purpose libpng functions
*
* libpng version 1.2.2 - April 15, 2002
* Copyright (c) 1998-2002 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
So this incompatible libpng problem must be coming from something other than
libpng, gd appears to be the next suspect.
Noting the gd-png error I ran "strings" on file pngtogd in my ./gd
subdirectory and I found this inside:
libpng version 1.2.0 - September 1, 2001
Copyright (c) 1998-2001 Glenn Randers-Pehrson
Copyright (c) 1996, 1997 Andreas Dilger
Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.
1.2.0 libpng version 1.2.0 - September 1, 2001 (header)
So I believe the error I noted before isn't so much a libpng problem, as I
first thought, but rather a problem with gd having been compiled with older
libraries.
I am now checking to see if there is anything to do about that...
Ron
> -----Original Message-----
> From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
> Behalf Of Ron Cripe
> Sent: Tuesday, May 14, 2002 3:23 PM
> To: mrtg at list.ee.ethz.ch
> Subject: [mrtg] install problem / initial run problem
>
>
>
> Hello all,
>
> This has me stumped. When I run mrtg I get this error message
> right off the
> bat:
>
> libpng warning: Application was compiled with png.h from libpng-1.0.6
> libpng warning: Application is running with png.c from libpng-1.2.0
> gd-png: fatal libpng error: Incompatible libpng version in
> application and
> library
> WARNING: rateup died from Signal 11
> with Exit Value 0 when doing router '10.10.10.2_1'
> Signal was 11, Returncode was 0
>
> I have installed libpng-1.2.2 so I have no idea where the png.h problem is
> coming from.
>
> Searching my entire file system (Solaris 8) for png.h and png.c I find
> these:
>
> # cd /
> # find . -name png.h -print
> ./export/home/username/libpng-1.2.2/libpng/png.h
> # find . -name png.c -print
> ./export/home/username/libpng-1.2.2/libpng/png.c
>
> So it would appear the conflict is coming from the libpng file
> set itself??
>
> Thanks in advance for any help anyone may provide,
>
> Ron
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Ron Cripe
> Systems Manager
> DuPage Library System
> 127 South First Street
> Geneva, IL 60134
> Voice: 630-232-8457 x210
> Fax: 630-232-0699
> Email: rcripe at dupagels.lib.il.us
> Website: http://www.dupagels.lib.il.us
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive http://www.ee.ethz.ch/~slist/mrtg
> FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
>
>
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list