[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ld and php4pl1 - what is my problem?



Hi guys,
I tried to compile Apache and php myself and what it got was this message:

-------schnipp--------
make[1]: Entering directory `/usr/local/src/php-4.0.4pl1'
/bin/sh /usr/local/src/php-4.0.4pl1/libtool --silent --mode=link gcc  -I. -I/usr/local/src/php-4.0.4pl1/ -I/usr/local/src/php-4.0.4pl1/main -I/usr/local/src/php-4.0.4pl1 -I/usr/local/apache/include -I/usr/local/src/php-4.0.4pl1/Zend -I/home/sven/imap-2000a//c-client -I/usr/local/src/php-4.0.4pl1/ext/mysql/libmysql -I/usr/local/src/php-4.0.4pl1/TSRM  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED -g -O2   -o libphp4.la -rpath /usr/local/src/php-4.0.4pl1/libs -avoid-version -L/home/sven/imap-2000a//c-client  -R /home/sven/imap-2000a//c-client stub.lo  Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/calendar/libcalendar.la ext/ftp/libftp.la ext/imap/libimap.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la TSRM/libtsrm.la -lc-client -ldl -lresolv -lm -ldl -lcrypt -lnsl -lresolv
/usr/bin/ld: cannot find -lgd
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.4pl1'
make: *** [all-recursive] Error 1 
------schnapp-----------

I just tried to execute ld -lgd and I got the same error:
polarbear:/# ld -lgd
ld: cannot find -lgd

On all my other machines I got this:
pioneer:/# ld -lgd
ld: warning: cannot find entry symbol _start; not setting start address 


What's the problem???
I compiled Apache + php a several times on diverent *nix and it worked.

This box is a Debian 2.2 System (Intel based)

I tried the ld -lgd command on Mandrake, SuSE, other Debian 2.2 boxes and Solaris.
The Version of the ld command is on all the Debian boxes GNU ld 2.9.5.
The other boxes are running something older.

Any hints?

CU,
Sven



Reply to: