Re: PHP-4.0.6 compilation error
| From: | Paul | Date: | Mon, 22 Oct 2001 13:55:56 +0000 |
| Subject: | Re: PHP-4.0.6 compilation error | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4695@lists.php.net to get a copy of this message | ||
somebody, anybody, please help :(
"Paul" <paul@thresholdmedia.com> wrote in message
news:20011019185852.44346.qmail@pb1.pair.com...
> Hi all,
>
> I'm trying to build php.4.0.6 from source and the first I get an error
while
> using the --with-gd switch so I took that out and it stopped complaining
> after I reconfigured. Then I did make and I get this error:
>
> /usr/bin/ld: cannot find -lgd
> collect2: ld returned 1 exit status
> make[1]: *** [libphp4.la] Error 1
> make[1]: Leaving directory `/home/tuxpow3r/php-4.0.6'
> make: *** [all-recursive] Error 1
>
> My debug.log file is pasted below, please anyone have a look and hopefully
> you can help me. Thanks in advance.
>
> CONFIGURE: './configure' '--with-mysql'
> '--with-apxs=/usr/sbin/apxs'
'--en
> able-bcmath' '--enable-trans-sid' '--with-config-file-path=/etc'
> '--enable-magic-quotes'
> '--enable-track-vars' '--enable-ftp' '--enable-calendar'
> '--prefix=/usr'
> '--with-exec-d
> ir=/usr/bin'
> CC: gcc
> CFLAGS: -g -O2
> CPPFLAGS: -DLINUX=22 -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DSUPPORT_UTF8
> CXX:
> CXXFLAGS:
>
INCLUDES: -I/var/www/include -I$(top_builddir)/Zend -I/home/tuxpow3r/php
> -4.0.6/ext/m
> ysql/libmysql
> LDFLAGS:
> LIBS: -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv
> DLIBS:
> SAPI: apache
> PHP_RPATHS:
> uname -a: Linux thresholdev 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001
> i586 unknown
>
> gcc -o
>
conftest -g -O2 -DLINUX=22 -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DSUPPORT_UTF8
> con
> ftest.c -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv 1>&5
> /usr/bin/ld: cannot find -lgd
> collect2: ld returned 1 exit status
>
>
>