Home > error mod ldap > error mod_ldap requires apr util to have ldap support

Error Mod_ldap Requires Apr Util To Have Ldap Support

HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software Help Apache w/ LDAP and SSL User Name Remember Me? Password Linux - 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 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. 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 08-17-2003, 05:15 PM #1 GAVollink Member Registered: Apr 2002 Location: St. Paul, Minnesota Distribution: UbuntuStudio, Ubuntu Posts: 357 Rep: Help Apache w/ LDAP and SSL Hi, I'm trying to compile Apache from source for LDAP support. The LDAP module requires a minimum of Apache 2.0.31. I downloaded the latest 2.0.47 util_ldap.c:81:2: #error mod_ldap requires APR-util to have LDAP support built in So I download and build apr and apr-util (www.apache.org/d

» 02/19/2009 Compiling Apache 2.2.x with LDAP Support My one gripe with the Apache documentation is that one often needs to interpret it because the meaning behind something isn't always generally obvious. Although it may be crystal-clear to the developer documenting the module or setting in question, it is not always clear to the user—especially if you are new to compiling apache. Take compiling LDAP support into recent builds of apache 2.2 as an example. If you read the configure --help output, it would only be natural for one to assume that all you need to do is run: ./configure --enable-ldap --enable-authnz-ldap and you will end up with an apache web server that supports ldap http://www.linuxquestions.org/questions/linux-software-2/help-apache-w-ldap-and-ssl-82911/ and that can use ldap databases for user authentication. If you've never compiled apache before though, running configure with these options will not give you that support. Looking at the documentation for mod_ldap, I find this: To enable this module, LDAP support must be compiled into apr-util. This is achieved by adding the --with-ldap flag to the configure script when building Apache. Adding the --with-ldap flag to your configure options will still not give you http://blog.techstacks.com/2009/02/compiling-apache-22x-with-ldap-support.html a working apache server with ldap support if this is your first compile. I suspect that --with-ldap doesn't actually do anything any more although I have not tried it yet compiling against the apache httpd 2.0 source. With the latest Apache 2.2.11 source, though, results are not what you would expect. What isn't immediately clear here and what isn't all that well documented at least on the apache httpd site, is that when you run the configure script, not only are you compiling apache httpd but you are also compiling the apache apr and apr-util libraries. In order to get LDAP support into apache, you need to compile that LDAP support into apr first and then apache httpd will be compiled against your newly created apr/apr-util. So, although the --enable-ldap and/or --enable-ldap-authnz configure options are valid for adding ldap support into apache, you also need to pass the --with-included-apr option in order to actually get it to work. At least, that's what I needed to do. Please let me know if any of you finding this page via Google were able to meet success by adding the --with-included-apr flag to your configure script. Posted by Chris Mahns at 12:00:00 AM in apache, compiling apache, sysadmin | Permalink | Comments (10) | TrackBack (0) Technorati Tags: apache, apache httpd TrackBack TrackBack URL for this entry:http://www.typepad.com/services/trackback/6a01156fbc6fe6970c01157228836

2009 at 6:40 pm Hi all,I http://grokbase.com/t/apache/users/09bybg4by8/httpd-util-ldap-c-43-2-error-error-mod-ldap-requires-apr-util-to-have-ldap-support-built-in am trying to install Httpd with LDAP support but I had the error below:util_ldap.c:43:2: error: #error mod_ldap requires APR-util to have LDAP support built inI am trying to install Httpd following the order below:cd httpd-2.0.63./buildconf./configure error mod_ldap --with-apr=/relay/packages/installed/apr/apr --with-apr-util=/relay/packages/installed/apr/apr-util --enable-ldap --enable-auth-ldap --enable-http --enable-cgi --enable-suexec --enable-rewriteSomeone knows what can be happening and help me?Best regard'sLuis Clemente____________________________________________________________________________________Veja quais são os assuntos do momento no Yahoo! +Buscadoshttp://br.maisbuscados.yahoo.com---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server error mod_ldap requires Project.See for more info.To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org" from the digest: users-digest-unsubscribe@httpd.apache.orgFor additional commands, e-mail: users-help@httpd.apache.org reply Tweet Search Discussions Search All Groups Apache users 5 responses Oldest Nested Eric Covener The operative part would seem to be how you built apr-util (--with-ldap or similar?) -- Eric Covener covener@gmail.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org Eric Covener at Nov 30, 2009 at 7:05 pm ⇧ On Mon, Nov 30, 2009 at 1:39 PM, Luis Clemente wrote:Hi all,I am trying to install Ht

 

Related content

error mod_ldap requires apr-util to have ldap support built in

Error Mod ldap Requires Apr-util To Have Ldap Support Built In p x First Last relatedl Prev Next This bug is not in your last search results Bug - Making Apache with --enable-ldap --enable-auth-ldap Summary Making Apache with --enable-ldap --enable-auth-ldap Status RESOLVED DUPLICATE of bug Product Apache httpd- Classification Unclassified Component mod ldap Version Hardware PC Linux Importance P minor with votes vote TargetMilestone --- Assigned To Apache HTTPD Bugs Mailing List URL Keywords Depends on Blocks Show dependency tree Reported - - UTC by Jose Asencio Modified - - UTC History CC List users Attachments Add an attachment proposed