asked 4 years ago viewed 6039 times active 4 years ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Related 74Authenticating in PHP using LDAP through Active Directory419What are the Do we know Ford's old name? Roark Holz Opportunity Council Bellingham, WA Reply With Quote Quick Navigation MySQL / PHP Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Announcements Official DirectAdmin 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 his comment is here
This is the actual fix! --with-libdir=lib64 \ //This is what I am referring to –kaiten65 Mar 31 at 12:54 add a comment| up vote 4 down vote I ran into this The webmail I use, roundcube, keeps complaining that I need to support LDAP with my PHP. Teenage daughter refusing to go to school Is it possible to hand start modern planes? no configure: error: Cannot find ldap libraries in /usr//usr/local/ssl/lib. http://serverfault.com/questions/633394/php-configure-not-finding-ldap-header-libraries
Also, I included "/usr" in the configuration script option as suggested, it still gives me the same error message Code: ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr/local/lib --with-zlib --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-ldap=/usr Output: ... The bad thing is 'make' don't work, because : /usr/bin/ld: ext/ldap/.libs/ldap.o: undefined reference to symbol '[email protected]@OPENLDAP_2.4_2' /usr/bin/ld: note: '[email protected]@OPENLDAP_2.4_2' is defined in DSO /usr/lib/i386-linux-gnu/liblber-2.4.so.2 so try adding it to the linker Join our community today!
Now, the problem I have is to make the PHP to work with LDAP server. no configure: error: Cannot find ldap libraries in /usr/lib. *** There was an error while trying to configure php. My cat sat on my laptop, now the right side of my keyboard types the wrong characters How to handle a common misconception when writing a Master's thesis? Configure: Error: Sasl.h Not Found! share|improve this answer answered Feb 21 '13 at 15:35 Chuck Ugwuh 274237 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google
I think I can get away without using the ldap with PHP for now. Ldap.h Not Found Ubuntu Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode May 29th, 2015 #1 sam_w2 View Profile View Forum Posts Private It's in /usr/lib/i386-linux-gnu/ This will do for libldap : ./configure --prefix=/usr/local/php --with-ldap=/usr/lib/i386-linux-gnu Next issue : 'ldap.h' cannot be found in /usr/include/ ... I'd start by looking for a proper 64-bit build of LDAP.
magicvash Linux - General 4 10-09-2003 02:29 PM Can't find any libraries..? DistroUbuntu Development Release Re: where are ldap headers? Configure: Error: Cannot Find Ldap.h Centos I changed the httpd.conf from /usr/local/apache2/conf to httpd1.conf because it was trying to overwrite it before and it failed with the error message: dpkg: error processing /usr/src/php-5.4.3/php_5.4.3-1_i386.deb (--install): trying to overwrite Checking For Ldap Cyrus Sasl Support... No Yes, I found the libldap under /usr/lib/i386-linux-gnu and included --with-ldap=/usr/lib/i386-linux-gnu in my ./configure.
clau_bolson Mandriva 1 11-08-2005 08:40 PM cant find these libraries linuxmandrake Linux - Software 2 06-28-2005 03:19 PM Cannot find qt libraries stevo22 Linux - Software 6 03-03-2004 12:32 PM cannot this content Powered by vBulletin Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. What Could Cause Flash Over / Arcing to Reappear on New Plugs? So I wonder where I have missed out on. Compile Php With Ldap Support
Can anyone point me in the right direction what might be wrong? Polyglot Anagrams Cops' Thread Is it possible for a diesel engine computer to detect (and prevent) a runaway condition? no configure: error: Cannot find ldap libraries in /usr/lib. - rpm -q -l openldap2-devel /usr/include/lber.h /usr/include/lber_types.h /usr/include/ldap.h /usr/include/ldap_cdefs.h /usr/include/ldap_features.h /usr/include/ldap_schema.h /usr/include/ldap_utf8.h /usr/include/slapi-plugin.h /usr/lib64/liblber.a /usr/lib64/liblber.so /usr/lib64/libldap.a /usr/lib64/libldap.so /usr/lib64/libldap_r.a /usr/lib64/libldap_r.so - Should be weblink 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
This is still true for all 5.3 versions and even 5.4.0RC1. [2011-11-21 09:49 UTC] [email protected] Nevermind, looks like libldap seems to be the only library used for building PHP that installs Configure: Error: Ldap Library Ldap Not Found My goal is to find the ldap libraries so phpbrew can find its headers and compile php with what I need. Is it possible to hand start modern planes?
Changed some specific configure options I set earlier in the question to the following (all I changed was the 3 listed here, the other options remained as they were) --with-libdir=lib --with-xpm-dir=/usr configure: error: Cannot find ldap libraries in /usr/lib. –Shawn Welch Oct 3 '14 at 17:58 Updated the answer. 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. Compile Php With Ldap Linux Seems to be looking in /usr/lib instead of /usr/lib64.
no configure: error: Cannot find ldap.h - The problem seems to be the configure script find ldap.h in /usr/include/ldap.h, so sets LDAP_LIBDIR=/usr/lib (line 52114), later it looks for /usr/lib/liblber.a instead of Searching : apt-cache search ldap Or use the online search http://packages.ubuntu.com/search?su...ywords=libldap sudo apt-get install libldap2-dev . 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. check over here How to capture disk usage percentage of a partition as an integer?
How to handle swear words in quote / transcription? Configure --with-ldap fails with: checking for LDAP support... Probably some compiler directive to be added to Makefile, maybe "-L/usr/lib64". 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
Password Linux - Software This forum is for Software issues. Without the --with-ldap directive php compiles fine. I am seen in darkness and in light, What am I? asked 3 years ago viewed 10977 times active 3 years ago Related 1I want to install php 5.3.9 in ubuntu 12.04 via apt-get - what repository should I add?4Install php extensions
Safety - Improve braking power in wet conditions Why do some banks have more than one routing number in the US? straight lines + point of intersection in TikZ How is Anti Aliasing Implemented in Ray Tracing? However, you could set --with-libdir in your configure script to deal with one issue, and that setting breaks for something else #Bummer. Start a coup online without the government intervening I am seen in darkness and in light, What am I?
Score:5.0 ± 0.0 Reproduced:1 of 1 (100.0%) Same Version:1 (100.0%) Same OS:1 (100.0%) From: graham dot simpson at hsbcib dot com Assigned: Status: Not a bug Package: Compile Failure PHP Version: Overview http://packages.ubuntu.com/source/precise-updates/php5 knudfl View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by knudfl 05-14-2012, 03:31 AM #5 knudfl LQ 5k Club Any help would be greatly appreciated.