Hi Sluggers:

I am trying to install the Perl "GD" (version 1.3.8) module, from CPAN, on my
server.

However I am getting error message after doing a "make". The error I am
getting is pasted 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 the make said the following before giving this error message:

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

I am unsure how to check the current version of "libgd" my server is running.
How do I find this out ?

With the above error message, I manually went in the "Makefile.PL" file and
prevented it to include the "-lfreetype" switch, but then it complains about
"-lX11" switch. Is this problem related with the "ligb" version issue ?

If it's "libgd" related where can I get the version "GD" module requires ?

My server is running Red hat Linux 7.1 .

Cheers

Louis.

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

Reply via email to