My Ubuntu is 14.04 and I use phpbrew to manage my php installs. However, you could set --with-libdir in your configure script to deal with one issue, and that setting breaks for something else #Bummer. How do unlimited vacation days work? no configure: error: Cannot find ldap libraries in /usr/lib. *** There was an error while trying to configure php. Check This Out
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. 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 The message is as follows Installing PHP SAPI module: apache2handler /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules /usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/ cp .libs/libphp5.so /usr/local/apache2/modules/libphp5.so cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la libtool: install: warning: remember to run 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 http://serverfault.com/questions/633394/php-configure-not-finding-ldap-header-libraries
please provide the full pathname of that needed lib, compare it with it's requirements and in case it differs, place a symlink or specify with switch. –hakre Oct 3 '12 at Adv Reply Quick Navigation Installation & Upgrades Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support New They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Not the answer you're looking for? LDAP libraries resides in /urs/lib/x86_64-linux-gnu . I need the LDAP because I want to be able to run a global address book. Configure: Error: Sasl.h Not Found! no configure: error: Cannot find ldap libraries in /usr/lib.
vBulletin ©2000 - 2016, Jelsoft Enterprises Ltd. Configure Error Cannot Find Ldap Libraries In /usr/lib. Centos Want to know which application is best for the job? If you'd like to contribute content, let us know. The error returned is 'Call to undefined function ldap_connect()' which indicates the php does not have the ldap extension installed.
checking for ANSI C header files... (cached) yes checking for LDAP support... http://www.linuxquestions.org/questions/linux-server-73/configure-php-with-ldap-server-4175500000/ Network Interfaces â€º PHP 5.3 --with-ldap configure fails "Cannot find ldap" Submitted by gsi66 (not verified) on Tue, 10/13/2009 - 05:52. Configure: Error: Cannot Find Ldap.h Centos DirectAdmin © 2013 JBMC Software current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. Checking For Ldap Cyrus Sasl Support... No Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ
How does Gandalf end up on the roof of Isengard? http://bovbjerg.net/cannot-find/ubuntu-configure-error-cannot-find-libmysqlclient-under-usr.php Here is what I had to do: apt-get install libldb-dev libldap2-dev ln -s /usr/lib/x86_64-linux-gnu/libldap.so /usr/lib/libldap.so \ && ln -s /usr/lib/x86_64-linux-gnu/liblber.so /usr/lib/liblber.so share|improve this answer answered Apr 29 at 0:20 sorrell 1412 GO OUT AND VOTE Can a president win the electoral college and lose the popular vote How to handle swear words in quote / transcription? I have run: apt-get install libldap2-dev That installs the header files to /usr/include. Compile Php With Ldap Support
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. Now, the problem I have is to make the PHP to work with LDAP server. I didn't use --with-libdir=lib64 because my LD_LIBRARY_PATH and SHLIB_PATH include /usr/lib64 and are set to: /opt/sybase/Connect64forODBC60/lib:/opt/sybase/httpd-2.2.13/lib:/opt/sybase/libxslt-1.1.26/lib:/opt/sybase/libxml2-2.7.5/lib:/opt/sybase/freetds-0.82/lib:/opt/sybase/openssl-0.9.8k/lib:/opt/sybase/DBA_SDK1500-16721/DataAccess/ODBC/lib:/opt/sybase/DBA_SDK1500-16721/OCS-15_0/lib:/opt/sybase/DBA_SDK1500-16721/OCS-15_0/lib3p:/usr/lib64:/lib64:/usr/X11R6/lib64:/opt/gnome/lib64:/usr/local/lib64:/usr/X11R6/lib/X11/locale/lib64:/usr/X11R6/lib64:/var/lib/stunnel/lib64:/u01/sq/ora_1/oracle/client/11.2.0/lib:/usr/lib64:/usr/lib:/home/db2inst/sqllib/lib64:/home/db2inst/sqllib/lib32 The problem with setting --with-libdir=lib64 is that not all software that I'm linking against has http://bovbjerg.net/cannot-find/ubuntu-cannot-find-ldap-libraries-in-usr-lib.php Click Here to receive this Complete Guide absolutely free.
Thanks for the help. [2011-03-01 23:58 UTC] nessunoero at libero dot it useful howto http://wiki.lepr-e.com/wiki/index.php/Ubuntu_Smtp_Server [2011-11-21 09:28 UTC] [email protected] I would like to bring this up again, considering to re-open this Configure: Error: Ldap Library Ldap Not Found Is it possible to hand start modern planes? ubuntu php ldap share|improve this question asked Nov 1 '12 at 0:08 Andrew Ellis 281310 1 I'm sure I'm missing something here, but why are you compiling LDAP support in
Thanks. 12.04 server php imap share|improve this question asked Feb 19 '13 at 20:18 Chuck Ugwuh 274237 add a comment| 1 Answer 1 active oldest votes up vote 4 down vote Having an Issue With Posting ? Seems to be looking in /usr/lib instead of /usr/lib64. Compile Php With Ldap Linux Last updated: Thu Nov 10 23:01:40 2016 UTC Welcome to the most active Linux Forum on the web.
How to prove that authentication system works, and that the customer is using the wrong password? whereis ldap yields the following: ldap: /etc/ldap /usr/lib/ldap /usr/include/ldap.h /usr/share/man/man3/ldap.3.gz I would have thought that /usr/lib/ldap would be the answer because it's filled with *.h files but phpbrew returns: Code: Command What is the most someone can lose the popular vote by but still win the electoral college? navigate here libc-client.a as listed in my question.
So, I re-installed my PHP-5.5.10 with LDAP as follows: ./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 With this, I got an error message "configure: error: Cannot find ldap libraries in yes checking for LDAP Cyrus SASL support...