aunquarra Posted February 15, 2007 Share Posted February 15, 2007 I've found a need to have an LDAP directory, and I'm trying to get PHP to support it, but I keep getting this configure error, no matter what I do. checking for LDAP support... yes checking for LDAP Cyrus SASL support... no configure: error: Cannot find ldap libraries in /usr/lib. From what I can tell about looking at the configure script, it's looking for a shared object file named libclntsh. However, when I try to "locate libclntsh", I can't find it either. In my Googling last night and this morning, the closest thing I could find was here: http://www.oreillynet.com/cs/user/view/cs_msg/14233 Fortunately for php (but unfortunately for me), this was a bug in the configure script that got address many versions ago (I'm trying to install 5.x.x). So far, I've tried to configure 5.1.4 (which is already up and running without ldap) and 5.2.1 (the latest version as of now), and both have given me this error. I'm sure it's not PHP directly. Clearly, it's looking for a file that isnt' there, but since I'm new to LDAP, I'm not sure why it's not, or what should have installed it. So far, I've installed the openldap, openldap-server, openldap-client, and openldap-devel packages. Unless I'm mistaken (and I very well could be), that's all I need, but clearly something was missed. And all I can find when I Google is stuff relating to Oracle, which is definitely not my issue (no Oracle on this box). Any general direction would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
aunquarra Posted February 23, 2007 Author Share Posted February 23, 2007 Just a little update. After doing still some more research, it almost looks like that particular shared object file might be part of the Oracle installation, and PHP is expecting me to have use for LDAP only if I'm using Oracle. This is all just a theory, as I've found no direct evidence of anything whatsoever, but I've been looking up PHP/LDAP/Oracle references, and I've seen a couple references to having trouble getting PHP to configure with LDAP but without Oracle. No further details; just general complaints. I've tried explicitly telling the configure script that I'm not going to be using Oracle, and I've tried even commenting out the check for that file in the configure script (last-ditch effort), but no dice. I really hate to post a bug to PHP, 'cause most likely it's some kind of user error. But I haven't been able to find another solution. Any help at all would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.