Can't compile PHP4 with OpenLDAP
| From: | Loh Kok Jeng | Date: | Wed, 14 Jun 2000 15:28:55 +0000 |
| Subject: | Can't compile PHP4 with OpenLDAP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-1836@lists.php.net to get a copy of this message | ||
Hi,
I have been trying to compile PHP4.0.0 with OpenLDAP 1.2.11 but without
any success. The configure options used are as follow:
./configure --with-apxs=/usr/local/apache/bin/apxs \
--with-mysql \
--with-ldap=/usr/local \
--enable-versioning \
--enable-track-vars
Executing "make" gets the following error:
/usr/local/lib/libgd.a(gd.o): In function `gdImageColorResolve':
gd.o(.text+0x6a0): multiple definition of `gdImageColorResolve'
ext/gd/.libs/libgd.al(gd.lo):/usr/local/src/php-4.0.0/ext/gd/gd.c:275:
first defined here
/usr/bin/ld: Warning: size of symbol `gdImageColorResolve' changed from
243 to 226 in gd.o
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.0'
make: *** [all-recursive] Error 1
For your info, I'm using apache 1.3.12. Any help is very much
appreciated.
regards,
Kok Jeng, Loh