Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-11-2009, 07:32 PM   #1
Registered: Jan 2006
Posts: 65

Rep: Reputation: 15
Question How to compile Apache 2.2 with LDAP support?

I have a couple of directions for this thread, one is troubleshooting a specific issue I'm having with my compiled Apache, and second is in the vein of learning how to fish, sort of direction.

I am working on setting up a subversion server tied into Apache. It was requested that I use the apr and apr-util that came with the subversion source, as opposed to using the httpd included ones. Here is the configure line used to build Apache:

$ ./configure --enable-dav --enable-so --enable-maintainer-mode --prefix=/usr/local --enable-ldap=shared --enable-authnz-ldap=shared --with-apr-util=../subversion-1.5.2/apr-util/ --with-apr=../subversion-1.5.2/apr

Do I need anything else besides the Apache (and in this case the subversion source with apr and apr-util) source code for LDAP to compile and work?

Here is the error I'm getting when starting up apache:

httpd: Syntax error on line 55 of /usr/local/conf/httpd.conf: Cannot load /usr/local/modules/ into server: /usr/local/modules/ undefined symbol: apr_ldap_url_parse

I'm not sure if there is something I'm missing, or if I'm overly complicating this, but really, I just want to compile Apache to use mod_authnz_ldap, and I am curious if anyone knows what I'm doing wrong above, or if anyone can point me to some tutorials on custom building Apache that might give me a better understanding of the whole process altogether.

Thank you!

Last edited by laggerific; 02-11-2009 at 07:41 PM.
Old 04-27-2009, 03:15 PM   #2
LQ Newbie
Registered: Feb 2007
Posts: 3

Rep: Reputation: 0
Have you been able to determine a solution to the undefined symbol: apr_ldap_url_parse problem? I seem to be having the same issue.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
compile php with ldap sandeepthug Linux - Software 3 02-03-2009 08:46 AM
Compiling Apache with ldap support ultrix Linux - Software 1 06-02-2008 10:33 PM
LDAP support zerocool22 Linux - Server 4 04-17-2008 06:49 AM
Samba with LDAP support asi.linux Linux - General 2 11-08-2006 11:15 PM
PHP with LDAP-support senorsnor Slackware 1 08-07-2004 07:32 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration