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 Not the answer you're looking for? Browse other questions tagged 12.04 server php imap or ask your own question. 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. Source
The way I installed LDAP server is via the command "aptitude install slapd ldap-utils" I wonder if I have missed any crucial steps here. Browse other questions tagged linux php ldap or ask your own question. It appears some of the required files are in /usr/lib/ and some are in /usr/lib/x86_64-linux-gnu, with most in the former. What episode of Star Trek is this creature on? Bonuses
Configure: Error: Cannot Find Ldap.h Centos
Thanks, php ldap mint share|improve this question asked Oct 1 '12 at 10:00 Denis Valdenaire aka Joe Linux 9118 closed as not constructive by Terry Gardner, Deanna, Mark, hakre, Clyde Lobo How to reply? 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 Chances are good that symlinking a 32-bit library into the 64-bit path will do more harm than good.
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 I keep getting the error when doing ./configure with the message that says "error cannot find ldap libraries in /usr/lib." here is my ./configure details ./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 Not the answer you're looking for? Configure: Error: Sasl.h Not Found! Previous examples of large scale protests after Presidential elections in US?
My boss asks me to stop writing small functions and do everything in the same loop How can the US electoral college vote be so different to the popular vote? What's New? checking for LDAP support... https://bugs.php.net/bug.php?id=49876 Having a problem installing a new program?
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. Ldap.h Not Found Ubuntu Does calling a function that mutates static local variables twice in the same expression lead to undefined behavior? Results 1 to 2 of 2 Thread: Compiling PHP with LDAP Support help needed Thread Tools Show Printable Version Email this Page… Display Linear Mode Switch to Hybrid Mode Switch to If you'd like to contribute content, let us know.
Click Here to receive this Complete Guide absolutely free.
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
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Someone peeled an American flag sticker off of my truck.
Configure Error Cannot Find Ldap Libraries In /usr/lib. Centos
Returning Values from Bash Functions Tech Tip: Really Simple HTTP Server with Python Elizabeth K. http://www.linuxquestions.org/questions/linux-software-2/cannot-find-ldap-libraries-944789/ I need the LDAP because I want to be able to run a global address book. Configure: Error: Cannot Find Ldap.h Centos Roark Holz Opportunity Council Bellingham, WA Reply With Quote 10-19-2011,03:48 PM #2 roarkh View Profile View Forum Posts Visit Homepage Verified User Join Date Aug 2005 Location Bellingham, WA Posts 134 Checking For Ldap Cyrus Sasl Support... No 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
LinuxQuestions.org > Forums > Linux Forums > Linux - Software cannot find ldap libraries User Name Remember Me? this contact form 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 Thx for finding it. However, when attempting to compile it is unable to locate the header files. Compile Php With Ldap Support
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
Password Linux - Software This forum is for Software issues. 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. Want to know which application is best for the job? Compile Php With Ldap Linux Join our community today!
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 Probably some compiler directive to be added to Makefile, maybe "-L/usr/lib64". Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Why does Cutie act like this and lesser robots listen to it?
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 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 I have installed the openldap and openldap-devel packages using yum and edited my /usr/local/directadmin/custombuild/custom/ap2/configure.php5 file adding the --with-ldap directive but when I issue the ./build php -n command I always get Do we know Ford's old name?
How can I claim compensation? 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 I've searched high and low for why phpldadadmin won't find the ldap extension. Vent kitchen hood vent to roof turbine vent?
This is why you have to symlink lib64 libraries individually. –Andrew Ellis Nov 1 '12 at 16:25 1 confirmed fix for Ubuntu 13.10 –ehime Oct 21 '13 at 20:47 add Using the eval command twice Build me a brick wall! May be something is missing ? If you'd like to contribute content, let us know.