Re: Problems Compiling LDAP in 4.0.2
| From: | Bill dot Hoffman at walgreens dot com | Date: | Thu, 18 Jan 2001 20:07:00 +0000 |
| Subject: | Re: Problems Compiling LDAP in 4.0.2 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1691@lists.php.net to get a copy of this message | ||
I tried a the new version of PHP (4.0.4pl1) and openldap (2.0.7) now.
PHP configures fine and compiles fine. When I go to restart apache it
gives me the following error:
Syntax error on line 237 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so:
undefined symbol: ldap_value_free
The problem with having to compile everything in is now apache and php are down because of my ldap
problem. It would be nice if it would start apache
and php
and give me a message that ldap is not installed. One bad apple should not spoil the whole bunch.
Thanx in advance for any help,
BEH
Has anyone seen this or have any clue as to why it may be happening?
Alfred Lerch <alfred_lerch@mentorg.com> on 01/18/2001 08:20:23 AM
To: Bill.Hoffman@walgreens.com, php-install <php-install@lists.php.net>
cc:
Subject: Re: [PHP-INST] Problems Compiling LDAP in 4.0.2
Hi Bill,
which LDAP library do you use ? OpenLDAP ?
regards
alfred
Bill.Hoffman@walgreens.com wrote:
>
> Here is my environment:
>
> System Linux server@domain.com 2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999
> i586 unknown
> Build Date Sep 7 2000
> Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs'
'
> --with-config-file-path=/usr/local/apache/conf' '--enable-versioning' '
> --with-mysql' '--enable-ftp' '--with-gd=/usr/local/gd' '
> --enable-bcmath=yes' '--disable-debug' '--enable-memory-limit=yes'
> '
> --enable-track-vars' '
> --with-openlink=/usr/local/odbc' '
> --with-ldap=/usr/local/openldap'
> Server API Apache
> Virtual Directory Support disabled
> Configuration File (php.ini) Path /usr/local/apache/conf
> ZEND_DEBUG disabled
> Thread Safety disabled
>
> When I attempted to recompile with LDAP
> During the make I get the following errors:
>
> Making all in ldap
> make[2]: Entering directory `/usr/local/php-4.0.2/ext/ldap'
> make[3]: Entering directory `/usr/local/php-4.0.2/ext/ldap'
> /bin/sh /usr/local/php-4.0.2/libtool --silent --mode=compile gcc -I.
> -I/usr/local/php-4.0.2/ext/ldap -I/usr/local/php-4.0.2
> -I/usr/local/php-4.0.2/main -I/usr/local/apache/include
> -I/usr/local/php-4.0.2/Zend -I/usr/local/php-4.0.2 -I/usr/local/gd
> -I/usr/local/ldap/include
> -I/usr/local/php-4.0.2/ext/mysql/libmysql
-I/usr/local/odbc/odbcsdk/include
> -I/usr/local/php-4.0.2/ext/xml/expat/xmltok
> -I/usr/local/php-4.0.2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2
> -c ldap.c
> ldap.c: In function `php_ldap_do_search':
> ldap.c:620: dereferencing pointer to incomplete type
> ldap.c:629: dereferencing pointer to incomplete type
> ldap.c:638: dereferencing pointer to incomplete type
> make[3]: *** [ldap.lo] Error 1
> make[3]: Leaving directory `/usr/local/php-4.0.2/ext/ldap'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/php-4.0.2/ext/ldap'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/php-4.0.2/ext'
> make: *** [all-recursive] Error 1
>
> I am using Netscape 3.0 like the php.net docs told me to.
> ldapsearch works fine from the command line.
>
> Thanx in advance for any help
> Please respond to my email directly - I am off list.
>
> BEH
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
--
\\\\\///
/ ^ _ \
( (o) (o) ) --- That's all folks ---
+=oOOO=====(_)=====OOOo==========================================+
|Alfred Lerch Mentor Graphics Deutschland GmbH|
|Network & System Administrator Elsenheimer Str. 41 - 43|
|IT - Business Support Team Munich D-80687 Muenchen, Germany|
|email: alfred_lerch@mentor.com Fax : +49 89 57096-400|
|Tel. : +49 89 57096-241 Mobile: +49 172 8915200|
| |
|Helpdesk IT Central Europe in Munich |
|Tel. : +49 89 57096-110 internal: 777|
|email: helpdesk_dem@mentor.com |
+=============Oooo.==============================================+
.oooO ( )
( ) ) /
\ ( (_/
\_)