I have tried to with --with-ldap=/usr/include as well and it still fails with: configure: error: Cannot find ldap.h I also tried symlinking with the following and I still get the same Thank you said76 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by said76 Thread Tools Show Printable Version Email this Page Search Browse other questions tagged linux php ldap or ask your own question. yes configure: error: Cannot find ldap libraries in /usr/lib. Source
Thank you! –Lily Finley Dec 11 '14 at 17:27 add a comment| Not the answer you're looking for? Vent kitchen hood vent to roof turbine vent? Create symlinks for the errant files ln -s /usr/lib/x86_64-linux-gnu/libXpm.a /usr/lib/libXpm.a ln -s /usr/lib/x86_64-linux-gnu/libXpm.so /usr/lib/libXpm.so ln -s /usr/lib/x86_64-linux-gnu/liblber.a /usr/lib/liblber.a ln -s /usr/lib/x86_64-linux-gnu/libldap_r.a /usr/lib/libldap_r.a B. but I still get the error. http://serverfault.com/questions/633394/php-configure-not-finding-ldap-header-libraries
Configure: Error: Cannot Find Ldap.h Centos
To start viewing messages, select the forum that you want to visit from the selection below. LinuxQuestions.org > Forums > Linux Forums > Linux - Server configure PHP with LDAP server User Name Remember Me? Do we know Ford's old name? All rights reserved.
Probably some compiler directive to be added to Makefile, maybe "-L/usr/lib64". Thank you said76 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by said76 05-14-2012, 02:39 AM #4 knudfl LQ 5k Club The time now is 01:00 AM. Configure: Error: Sasl.h Not Found! Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders Advanced Search Forum Technical Discussion MySQL / PHP Compiling PHP with LDAP Support help
So I decided to set up the configure options for /usr/lib as default and then create symlinks for the errant files in x86_64-linux-gnu. Configure Error Cannot Find Ldap Libraries In /usr/lib. Centos asked 2 years ago viewed 7333 times active 6 months ago Related 2Can't find php_ldap.dll for PHP 5.3.3 on Windows?3Getting LDAP running with PHP on 2008 R21Binding to LDAP server works Linking libldap.so, liblber.so, and liblber-2.4.so.2 into /usr/lib, then doing make clean and re-running ./configure and make fixed it for me. I have made a symbolic link in /usr/lib - libldap.a -> /usr/lib64/libldap.a but this does not help.
Any help or direction would be very much appreciated. Ldap.h Not Found Ubuntu checking for ANSI C header files... (cached) yes checking for LDAP support... no configure: error: Cannot find ldap libraries in /usr/lib. *** There was an error while trying to configure php. Results 1 to 3 of 3 Thread: where are ldap headers?
Configure Error Cannot Find Ldap Libraries In /usr/lib. Centos
Are you new to LinuxQuestions.org? this contact form Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. yes checking for LDAP Cyrus SASL support... more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Compile Php With Ldap Support
Without the --with-ldap directive php compiles fine.
Browse other questions tagged 12.04 server php imap or ask your own question.
To fix this, simply run the following: ln -fs /usr/lib/x86_64-linux-gnu/libldap.so /usr/lib/ Vola, compiling away.
knudfl View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by knudfl 05-14-2012, 01:25 AM #3 said76 Member Registered: Aug 2011 Posts: 113
Please visit this page to clear all LQ-related cookies.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration.
My goal is to find the ldap libraries so phpbrew can find its headers and compile php with what I need.
Can a president win the electoral college and lose the popular vote TSA broke a lock for which they have a master key.
May be something is missing ?
November 2016 Video Preview October 2016 Video Preview September 2016 Video Preview Click here for more videos First Name Last Name Address 1 Address 2 City State Zip Email Canadian Residents How to handle swear words in quote / transcription? LinuxQuestions.org > Forums > Linux Forums > Linux - Software cannot find ldap libraries User Name Remember Me? have a peek here Searching : apt-cache search ldap Or use the online search http://packages.ubuntu.com/search?su...ywords=libldap sudo apt-get install libldap2-dev .
In my case, I set this to default to /usr/lib/x86_64-linux-gnu, but there were a lot of files in /usr/lib e.g.
Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Boss sends a birthday message. But every -dev libs seems to be installed : dpkg -l *ldap* | grep ii ii ldap-utils 2.4.28-1.1ubuntu4.1 OpenLDAP utilities ii ldaptor-utils 0.0.43+debian1-6ubuntu1 command-line LDAP utilities ii libaprutil1-ldap 1.3.12+dfsg-3 Apache Portable Compile Php With Ldap Linux Thx for finding it.
Now, the problem I have is to make the PHP to work with LDAP server. Thank you said76 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by said76 05-14-2012, 12:17 AM #2 knudfl LQ 5k Club Start a coup online without the government intervening I am seen in darkness and in light, What am I? Halz Linux - Software 1 04-25-2002 06:46 PM All times are GMT -5.
Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. What is the point of update independent rendering in a game loop? Join our community today!