Re: Install problem-----help please!!
| From: | Olivier Bourgeois | Date: | Thu, 26 Oct 2000 16:23:20 +0000 |
| Subject: | Re: Install problem-----help please!! | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-500@lists.php.net to get a copy of this message | ||
Philip Surman wrote:
> I am using RedHat 6.2, I have some development stuff installed (just ennough
> to build kernels).
>
> I have successfully installed and configured apache-1.3.12 with modules
> support and am using a mysql binary distribution which also works.
>
> I have installed this on another machine with out problems so I am really
> confused by the following debug.log file.....
>
> P.S. the make command doesn't finish and exited
>
> Any help would be great
>
> PreThanx
>
> Phil
>
> CONFIGURE: './configure' '--enable-track-vars' '--with-gd'
> '--with-mysql=/usr/local/mysql' '--with-apxs=/usr/local/apache/bin/apxs'
> CC: gcc
> <SNIP>
> /usr/bin/ld: cannot find -lgd
> collect2: ld returned 1 exit status
>
Hi,
are you sur that gd is installed on this machine ? The problem is ld can't
find gd libraries. Try this to see if it's installed:
'rpm -qa | grep gd'
you must have both gd and gd-devel installed, if nothing is listed install gd
and retry to build PHP
If gd is installed you should provide full path to gd in your configure command
line:
--with-gd=/full/path/to/gd/
bye