Home > Cannot Find > Ubuntu Cannot Find Ldap Libraries In /usr/lib

Ubuntu Cannot Find Ldap Libraries In /usr/lib

Contents

Ask Ubuntu works best with JavaScript enabled knudfl View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by knudfl 05-14-2012, 09:45 PM #6 said76 Member Registered: Aug 2011 Posts: 113 It keeps giving me the following error: configure: error: Cannot find imap library (libc-client.a). Was it legal to rant against trick or treating via loudspeaker during halloween? this contact form

For Ubuntu Trusty, after installing libldb-dev, the following is sufficient: sudo ln -s /usr/lib/i386-linux-gnu/liblber.so /usr/lib, sudo ln -s /usr/lib/i386-linux-gnu/libldap.so /usr/lib. –Wtower Mar 21 at 11:09 Also, make sure you 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 linux php ldap share|improve this question asked Oct 3 '14 at 17:46 Shawn Welch 255211 add a comment| 4 Answers 4 active oldest votes up vote 4 down vote accepted This bathory View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by bathory Thread Tools Show Printable Version Email this Page Search this Thread Advanced useful source

Configure: Error: Cannot Find Ldap.h Centos

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 By dperren in forum MySQL / PHP Replies: 2 Last Post: 10-14-2007, 04:34 AM Compiling PHP w/ LDAP Support By davef8 in forum MySQL / PHP Replies: 2 Last Post: 05-17-2005, share|improve this answer answered Nov 1 '12 at 16:21 Andrew Ellis 281310 Also worth noting in case you're wondering... --with-libdir=lib64 causes other parts of the configuration to fail. DistroUbuntu Development Release Re: where are ldap headers?

  • Teenage daughter refusing to go to school How good should one be to participate in PS?
  • Can an object *immediately* start moving at a high velocity?
  • I have run: apt-get install libldap2-dev That installs the header files to /usr/include.
  • How do unlimited vacation days work?
  • The time now is 06:57 PM.
  • Password Linux - Software This forum is for Software issues.
  • CFLAGS="-DSYB_LP64" ./configure --prefix=${TDIR}/php-5.3.0 --with-ldap --enable-libgcc --with-oci8 --with-pdo-oci --with-sybase-ct=${SYBASE}/${SYBASE_OCS} --with-pdo-dblib=${TDIR}/freetds-0.82 --with-curl --enable-pcntl --with-gettext --with-mcrypt --enable-soap --with-pear --with-zlib --disable-cgi --with-readline --with-bz2 --with-apxs2=${TDIR}/httpd-2.2.13/bin/apxs --with-libxml-dir=${TDIR}/libxml2-2.7.5 --with-xsl=${TDIR}/libxslt-1.1.26 --with-openssl=${TDIR}/openssl-0.9.8k [2009-10-19 11:14 UTC] [email protected] Your configure line is
  • There is a package in the repos for it: sudo apt-get install php5-ldap –Soviero Nov 1 '12 at 16:29 php5-ldap installs php5-common, which for some reason installs PHP 5.4.6~ubuntu
  • Posts: 16,276 Rep: Well, you could run : sudo apt-get build-dep php5 .. ?

Any help or direction would be very much appreciated. 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. I don't know why it's trying to overwrite the httpd.conf but that package httpd 2.2.22-1 could be the .deb generated by "checkinstall make install". Configure: Error: Sasl.h Not Found! I checked from Ubuntu Software Center that I already had libldap2-dev installed on the system.

Judging by the /usr/lib64, am going to guess you're running a 64-bit distro. Configure Error Cannot Find Ldap Libraries In /usr/lib. Centos 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 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 https://bugs.php.net/bug.php?id=49876 Search this Thread 03-31-2014, 01:28 AM #1 said76 Member Registered: Aug 2011 Posts: 113 Rep: configure PHP with LDAP server Hi, I believe I have posted the following question

For meantime a workaround: git checkout master; ./buildconf --force; sed -i -e 's~^\([[:space:]]*\)\(if test -f \$LDAP_LIBDIR/liblber\.a || test -f \$LDAP_LIBDIR/liblber\.\$SHLIB_SUFFIX_NAME; then\)$~\1if test -f \$LDAP_LIBDIR/x86_64-linux-gnu/liblber\.a || test -f \$LDAP_LIBDIR/x86_64-linux-gnu/liblber\.\$SHLIB_SUFFIX_NAME; then\n\1 LDAP_LIBDIR=$LDAP_LIBDIR/x86_64-linux-gnu\n\1fi\n\n\1\2~' configure; Ldap.h Not Found Ubuntu I've searched high and low for why phpldadadmin won't find the ldap extension. Thank you said76 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by said76 04-02-2014, 01:46 AM #4 bathory LQ Guru Registered: Having a problem logging in?

Configure Error Cannot Find Ldap Libraries In /usr/lib. Centos

What is the meaning of ''cry oneself"? http://www.linuxquestions.org/questions/linux-software-2/cannot-find-ldap-libraries-944789/ Search this Thread 05-13-2012, 10:31 PM #1 said76 Member Registered: Aug 2011 Posts: 113 Rep: cannot find ldap libraries Hi, I am struggling to install PHP 5.4.3 with ldap Configure: Error: Cannot Find Ldap.h Centos Professor Lewin: "Which string will break?" / Me: "That one." / Professor Lewin: "Wrong!" Do we know Ford's old name? Checking For Ldap Cyrus Sasl Support... No 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

I believe they have been installed because if I run the below command, it said nothing to be installed. $ aptitude install libldap-2.4-2 libldap2-dev No packages will be installed, upgraded, or weblink Here is my PHP configuration script: ./configure --enable-fpm --enable-cli --with-fpm-user=phpfpm --with-fpm-group=phpfpm --prefix=/usr/local/php --exec-prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-config-file-scan-dir=/usr/local/php/etc/conf.d --with-libdir=/lib/x86_64-linux-gnu --enable-bcmath --enable-ctype --with-curl --with-curlwrappers --with-pear --enable-dba --with-cdb --enable-exif --enable-ftp --disable-fileinfo --with-gd --with-jpeg-dir --with-png-dir --with-zlib-dir --with-xpm-dir 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... Compile Php With Ldap Support

Which is odd because my LD_LIBRARY_PATH contains /usr/lib64. - Altering --with-ldap to --with-ldap=/usr or /usr/lib64, then complains about not finding the ldap.h, viz: checking for LDAP support... Network Interfaces › PHP 5.3 --with-ldap configure fails "Cannot find ldap" Submitted by gsi66 (not verified) on Tue, 10/13/2009 - 05:52. Using the eval command twice How do I make an alien technology feel alien? navigate here I've tried --with-ldap-dir and it seemed to work but when I tried to use a php ldap function it didn't work. –Shawn Welch Oct 3 '14 at 19:36 add a comment|

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Configure: Error: Ldap Library Ldap Not Found Check the custom/ap2/configure.php5 file I am a bit lost here at this point since I followed the same steps that worked flawlessly on my older CentOS box. share|improve this answer edited Oct 3 '14 at 18:02 answered Oct 3 '14 at 17:56 yarek 1,223518 Tried it.

Joseph and Matt Fischer's Common OpenStack Deployments Pancaking the Pyramid Economy more Already a subscriber?

I don't want to use --with-libdir, as it breaks other paths to libs for other packages, ie --with-mysql=/opt/mysql, --with-opensll=/opt/openssl The cnfigure script must be updated to handle this path for LDAP. vBulletin 2000 - 2016, Jelsoft Enterprises Ltd. but I still get the error. Compile Php With Ldap Linux Last updated: Thu Nov 10 23:01:40 2016 UTC FAQ Forum Quick Links Unanswered Posts New Posts View Forum Leaders FAQ Contact an Admin Forum Community Forum Council FC Agenda Forum Governance

Yes, I found the libldap under /usr/lib/i386-linux-gnu and included --with-ldap=/usr/lib/i386-linux-gnu in my ./configure. 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 Why do some banks have more than one routing number in the US? his comment is here I have made a symbolic link in /usr/lib - libldap.a -> /usr/lib64/libldap.a but this does not help.

Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search Forums Advanced Search Search Tags Search LQ Wiki Search Tutorials/Articles Search That's just my guess.