Php Error Cannot Find Ldap Libraries In /usr/lib
Contents |
UTC Modified: 2009-10-19 13:42 UTC Votes:1 Avg. Score:5.0 ± 0.0 Reproduced:1 of 1 (100.0%) Same Version:1 configure error cannot find ldap libraries in /usr/lib. centos (100.0%) Same OS:1 (100.0%) From: graham dot simpson at hsbcib compile php with ldap support dot com Assigned: Status: Not a bug Package: Compile Failure PHP Version: 5.3.0 OS: SuSE checking for ldap cyrus sasl support... no Linux 10 SP 2 x86_64 Private report: No CVE-ID: View Add Comment Developer Edit [2009-10-14 14:59 UTC] graham dot simpson at hsbcib dot com Description:
Configure: Error: Sasl.h Not Found!
------------ 64bit SuSE 10.2 with openldap2-2.3, openldap2-devel-2.3 installed. Configure --with-ldap fails with: checking for LDAP support... yes checking for LDAP Cyrus SASL support... 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 configure: error: ldap library ldap not found - Should be looking in /usr/lib64. 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... yes checking for LDAP Cyrus SASL support... 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 /usr/lib64/liblber.a. - Maybe I've got that wrong. The weird thing is I know other directives in my configure are picking up stuff from /usr/lib64. - Thanks for any help you can give. GSi Patches Add a PatchPull Requests Add a Pull RequestHistoryAllCommentsChangesGit/SVN commitsRelated reports [2009-10-14 15:05 UTC] graham dot simpson at hsbcib dot com Sorry, meant to post my configure line also... 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 --
Sign in Pricing Blog Support Search GitHub This repository Watch compile php with ldap linux 101 Star 2,414 Fork 335 Linuxbrew/legacy-linuxbrew Code Issues 84 Pull
Ldap.h Not Found Ubuntu
requests 2 Projects 0 Wiki Pulse Graphs New issue php56 : Cannot find ldap
Docker Php Ldap
libraries in /usr/lib #723 Closed Rudloff opened this Issue Jan 17, 2016 · 4 comments Projects None yet Labels build-error Milestone https://bugs.php.net/bug.php?id=49876 No milestone Assignees sjackman 2 participants Rudloff commented Jan 17, 2016 Hello, I get an error when I try to install php56 (--without-apache): ==> Installing php56 from homebrew/php /usr/bin/gcc-4.2: not found (maybe gcc-4.2 is not installed?) ==> Downloading https://php.net/get/php-5.6.17.tar.bz2/from/this/mirror Already downloaded: /home/pierre/.cache/Homebrew/php56-5.6.17 ==> ./configure --prefix=/home/pierre/.linuxbrew/Cellar/php56/5.6.17 https://github.com/Linuxbrew/legacy-linuxbrew/issues/723 --localstatedir=/home/pierre/.linuxbrew/var --sysconfdir=/home/pierre/.linuxbrew/etc/php/5.6 --with-config-file-path=/hom Last 15 lines from /home/pierre/.cache/Homebrew/Logs/php56/01.configure: checking if iconv is glibc's... yes checking if iconv supports errno... yes checking if iconv supports //IGNORE... no checking if your cpp allows macro usage in include lines... yes checking for IMAP support... no checking for IMAP Kerberos support... no checking for IMAP SSL support... no checking for InterBase support... no checking whether to enable internationalization support... no checking whether to enable JavaScript Object Serialization support... yes checking for ANSI C header files... (cached) yes checking for LDAP support... yes checking for LDAP Cyrus SASL support... /usr checking size of long int... 8 configure: error: Cannot find ldap libraries in /usr/lib. Here are the logs: https://gist.github.com/f4386d8c4bb82abbce78 Regards, sjackman added the build-error label Jan 19, 2016 Linuxbrew member sjackman commented Jan 19, 2016 I'm afraid the tap homebrew/php is not su
Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software cannot find ldap libraries User Name Remember Me? Password Linux http://www.linuxquestions.org/questions/linux-software-2/cannot-find-ldap-libraries-944789/ - Software This forum is for Software issues. Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to not found threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? 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. error cannot find If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. 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. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. 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. Click Here to receive this Complete Guide absolutely free. Search this Thread 05-13-2012, 09: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 from source on Ubuntu Server 12.04 LTS 32bit. I keep getting the error when doing ./configure with the message that says "error cannot find ldap libraries in /usr/l