Installing PHP with GD support on RHL8.0
New to linux, I am using the guide to installing apache, php, and gd found here: http://www.linuxguruz.org/z.php?id=31
Apache and gd configured, compiled, and installed fine.
For PHP, the guide suggested using the configuration options:
I hit enter and it does its thing. However, I end up with the following:
and drops to the shell prompt.
checking for T1lib support... yes
checking whether to enable truetype string function in GD... yes
If configure fails try --with-jpeg-dir=
If configure fails try --with-png-dir= and --with-zlib-dir=
If configure fails try --with-xpm-dir=
If configure fails try --with-freetype-dir=
configure: error: Unable to find libgd.(a|so) anywhere under /usr/local/gd-2.0.11
The error complains that there is no /usr/local/gd-2.0.11/libgd.a or .so file. I checked and the only libgd* file was a .la file. I open this file and I see:
Would this be a copy of the file its looking for? Would it be safe to copy it it to libgd.so or .a then try the ./configure command again?? What about the "If configure fails try..."?? Is that meant for the error I'm getting or for the check it did for the truetype string function in GD?
# libgd.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4.3 (1.922.2.110 2002/10/23 01:39:54)
# Please DO NOT delete this file!
# It is necessary for linking the library.
# The name that we can dlopen(3).
# Names of this library.
library_names='libgd.so.2.0.0 libgd.so.2 libgd.so'
# The name of the static archive.