#34754 [Opn->Fbk]: Configure can not find ldap
| From: | sniper@php.net | Date: | Thu, 06 Oct 2005 12:17:07 +0000 |
| Subject: | #34754 [Opn->Fbk]: Configure can not find ldap | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-86099@lists.php.net to get a copy of this message | ||
ID: 34754
Updated by: sniper@php.net
Reported By: ivanov dot roman at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: LDAP related
Operating System: Solaris 10
PHP Version: 4.4.0
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-10-06 13:17:14] ivanov dot roman at gmail dot com
configure is ok if I will copy:
cp libldap.so.4 libldap.so.3
------------------------------------------------------------------------
[2005-10-06 13:13:55] ivanov dot roman at gmail dot com
config.log:
http://www.samsungelectronics.ru/~pomah/temp/config.log
libldap* files came from Solaris 10 SUNWcsl Core Solaris, (Shared Libs)
package
There is no any liblber* files on this Solaris 10 box.
I even didnt find liblber on Solaris 9 box. But php was compiled on it
--with-ldap without problems:
$ uname -a && ls -l /usr/lib/libldap*
SunOS fire 5.9 Generic_118558-06 sun4u sparc SUNW,Sun-Fire-880
lrwxrwxrwx 1 root root 14 Apr 27 15:51
/usr/lib/libldap.so -> ./libldap.so.5
-rwxr-xr-x 1 root bin 177732 Apr 7 2002
/usr/lib/libldap.so.3
-rwxr-xr-x 1 root bin 186756 Jan 31 2005
/usr/lib/libldap.so.4
-rwxr-xr-x 1 root bin 1124124 Jan 31 2005
/usr/lib/libldap.so.5
------------------------------------------------------------------------
[2005-10-06 12:56:32] tony2001@php.net
What's in the config.log ?
Could you put it somewhere and paste the link here?
Could you also check what libraries are included into your ldap
package?
I guess there should be also liblber.so and liblber.a, am I right?
------------------------------------------------------------------------
[2005-10-06 12:15:28] ivanov dot roman at gmail dot com
Description:
------------
Here is my configuration command :
sh -c PATH=/usr/sbin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin
./configure --with-apxs=/usr/apache/bin/apxs --with-ldap
--enable-safe-mode --disable-cgi
Result:
------------
checking for Java support... no
checking for LDAP support... yes
configure: error: Cannot find ldap libraries in /usr/lib.
ls -l /usr/lib/libldap*
lrwxrwxrwx 1 root root 12 Sep 29 12:51 libldap.so ->
libldap.so.5
-rwxr-xr-x 1 root bin 214076 Jan 23 2005 libldap.so.4
-rwxr-xr-x 1 root bin 365728 Jan 23 2005 libldap.so.5
# ls -l /usr/include/ldap*
-rw-r--r-- 1 root bin 56030 Jan 22 2005 ldap.h
------------------------------------------------------------------------
[2005-10-06 12:03:17] tony2001@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/34754
--
Edit this bug report at http://bugs.php.net/?id=34754&edit=1