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

+++++++++++++++++++++++++++++++++++++++++++

I noticed that when running "Perl Makefile.PL" it said the following:

"NOTICE: This module requires libgd 1.8.4 or higher (shared library version
4.X)."

How do I find out what version of "libgd" I have installed ?

Is the error I am getting above related to the version of "libgd" ?

In "Makefile.PL" I got it to avoid the switch "-lfreetype", but after that it
complains about "-lX11" .

Any suggestions are welcome to help me install this module successfully.

Louis.

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

Reply via email to