Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2000 14:39:22 -0400 (EDT)
From:      <up@3.am>
To:        FreeBSD ISP List <freebsd-isp@freebsd.org>
Subject:   gd library woes...
Message-ID:  <Pine.BSF.4.10.10005101433540.48220-100000@richard2.pil.net>

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

It seems alot of things I want to run (webalizer, mrtg, etc) need the gd
libraries to run.  Ok, fine...it doesn't build from ports because it's too
old, so I get the source, make, make install with no incidents.

I then get the webalizer source (ports out of date again), run ./configure
(no errors), then make, and get this:

graphs.c: In function `year_graph6x':
graphs.c:288: warning: implicit declaration of function `gdImageGif'
gcc -L/usr/local/lib -o webalizer webalizer.o graphs.o -lgd -lm
graphs.o: In function `year_graph6x':
graphs.o(.text+0xce6): undefined reference to `gdImageGif'
graphs.o: In function `month_graph6':
graphs.o(.text+0x1a4d): undefined reference to `gdImageGif'
graphs.o: In function `day_graph3':
graphs.o(.text+0x2083): undefined reference to `gdImageGif'
graphs.o: In function `pie_chart':
graphs.o(.text+0x25fd): undefined reference to `gdImageGif'
*** Error code 1

Ok, there's a binary of webalizer for freebsd, I try to run that, and get:

su-2.03# ./webalizer 
/usr/libexec/ld-elf.so.1: Shared object "libgd.so.0" not found

So, what am I doing wrong?

TIA,

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.10005101433540.48220-100000>