Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2000 12:34:19 -0400 (EDT)
From:      <up@3.am>
To:        "Carlos M. Gutierrez" <carlos@gutierrez.com>
Cc:        FreeBSD ISP List <freebsd-isp@freebsd.org>
Subject:   Re: gd library woes...
Message-ID:  <Pine.BSF.4.10.10005111228150.51915-100000@richard2.pil.net>
In-Reply-To: <Pine.BSI.4.05L.10005111137290.21041-100000@gaia.gutierrez.com>

next in thread | previous in thread | raw e-mail | index | archive | help

disregard previous email.  Out of frustration, I had installed an older
"gif friendly" version of gd, and then a later png version.  It appears
the header files were for the former, and I was then trying to build the
new png version of webalizer .  Dunno why that didn't find the png
headers, but I just reinstalled the gif version of webalizer with the
flags you suggested, and it worked.

On Thu, 11 May 2000, Carlos M. Gutierrez wrote:

> 
> 
> On Thu, 11 May 2000 up@3.am wrote:
> 
> > gcc -L/usr/local/include -o webalizer webalizer.o graphs.o -lgd -lz -lm
> 
> Just a wild guess, but perhaps you need a:
> 
> -L/usr/local/lib
> 
> and need to change -L/usr/local/include to -I/usr/local/include
> 
> where is libgd installed? can the compiler find it there?
> 
> cheers,
> 
> Carlos M. Gutierrez
> carlos@gutierrez.com
> 
> --
> 
>     WEPA! Search Puerto Rico!       o 2,500+ Web Sites
>        http://www.wepa.com          o 500+ Channels
>                                     o 30,000+ Pages Indexed
>   Puerto Rico's Internet Portal     o Chat
>          ...since 1996              o Discussion Forums
>                                     o Free E-Mail
>                                     o Local News
> 
> > graphs.o: In function `year_graph6x':
> > graphs.o(.text+0xce6): undefined reference to `gdImagePng'
> > graphs.o: In function `month_graph6':
> > graphs.o(.text+0x1a4d): undefined reference to `gdImagePng'
> > graphs.o: In function `day_graph3':
> > graphs.o(.text+0x2083): undefined reference to `gdImagePng'
> > graphs.o: In function `pie_chart':
> > graphs.o(.text+0x25fd): undefined reference to `gdImagePng'
> > *** Error code 1
> > 
> > Stop.
> > 
> > Damn, it appears to be looking in the correct place for the header files,
> > etc, but it just ain't working...
> > 
> > James Smallacombe		      PlantageNet, Inc. CEO and Janitor
> > up@3.am							    http://3.am
> > =========================================================================
> > 
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-isp" in the body of the message
> > 
> 
> 

James Smallacombe		      PlantageNet, Inc. CEO and Janitor
up@3.am							    http://3.am
=========================================================================



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10005111228150.51915-100000>