On Sun, 10 Nov 2002, Louis Selvon wrote:

> Hi Sluggers:
>
> I am trying to install the "GD" module on my server.
>
> I am encountering problems after running "make".
>
> The error I get is shown below
>
> +++++++++++++++++++++++++++++++++++++++++++
>
> LD_RUN_PATH="/usr/lib:/lib:/usr/X11R6/lib" gcc -o blib/arch/auto/GD/GD.so
> -shared -L/usr/local/lib
> GD.o    -L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/local/lib -lgd -lpng -lz
> -lfreetype -ljpeg -lm -lX11
> -lXpm
> /usr/bin/ld: cannot find -lfreetype
> collect2: ld returned 1 exit status
> make: *** [blib/arch/auto/GD/GD.so] Error 1

>Sounds like the install process is failing to find the
>freetype library.  Is it installed?

Hi Andrew. I just did a "locate freetype", a few things was returned. Is this
the one you mean though :

/usr/lib/libfreetype.so.6
/usr/lib/libfreetype.so.6.0.1

If not where can I get this freetype thing. If yes sounds like I need to
modify "Makefile.PL" to get it from "/usr/lib". Right !!

Also when I removed the "freetype" switch I got an error with "/usr/bin/ld:
cannot find -lX11"

Does a Linux install include these stuff or are they seperate packages ?

Also What is the command to find the current version of "libgd" that is
installed ?

Louis.

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to