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




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to