Bug #15207: Failure to compile with LDAP support
| From: | lhecking at nmrc dot ie | Date: | Thu, 24 Jan 2002 17:24:15 +0000 |
| Subject: | Bug #15207: Failure to compile with LDAP support | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-78017@lists.php.net to get a copy of this message | ||
From: lhecking@nmrc.ie
Operating system: Solaris 7
PHP version: 4.1.1
PHP Bug Type: Compile Failure
Bug description: Failure to compile with LDAP support
Both php 4.1.0 and 4.1.1 fail to compile with LDAP support.
The same configuration compiles (and works) just fine when
I configure without "--with-ldap".
$ ./configure --enable-safe-mode --enable-track-vars \
--enable-memory-limit=yes --enable-sysvsem \
--enable-sysvshm --enable-versioning --with-apxs2=${apxs}\
--with-openssl --with-xml --with-zlib \
--with-config-file-path=${conf} \
--with-freetype-dir=/usr/local \
--with-gd=/usr/local/src/gd-1.8.4
--with-gettext=/usr/local \
--with-imap=/usr/local/src/imap-2000c \
--with-jpeg-dir=/usr/local \
--with-ldap=/usr/local --with-mysql=/usr/local \
--with-png-dir=/usr/local --with-xpm-dir=/usr/local
...
$ make
...
make[3]: Entering directory
/usr/local/src/php-4.1.1/ext/standard'
/bin/sh /usr/local/src/php-4.1.1/libtool --silent --mode=compile
/usr/local/src/php-4.1.1/meta_ccld -I.
-I/usr/local/src/php-4.1.1/ext/standard -I/usr/local/src/php-4.1.1/main
-I/usr/local/src/php-4.1.1 -I/usr/local/include
-I/usr/local/src/php-4.1.1/Zend -I/usr/local/ssl/include
-I/usr/local/include -I/usr/local/include/freetype2/freetype
-I/usr/local/src/gd-1.8.4/ -I/usr/local/gnu/include
-I/WWWserv/src/imap-2000c/c-client -I/usr/local/ldap/include
-I/usr/local/mysql/include/mysql -I/usr/local/src/php-4.1.1/ext/xml/expat
-I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT -I/usr/local/src/php-4.1.1/TSRM -g -O2 -pthreads -DZTS
-prefer-pic -c dl.c
dl.c:212: conflicting types for `php_dl'
dl.h:26: previous declaration of `php_dl'
make[3]: *** [dl.lo] Error 1
--
Edit bug report at: http://bugs.php.net/?id=15207&edit=1