LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to compile Apache 2.2 with LDAP support? (https://www.linuxquestions.org/questions/linux-software-2/how-to-compile-apache-2-2-with-ldap-support-704017/)

laggerific 02-11-2009 07:32 PM

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/mod_authnz_ldap.so into server: /usr/local/modules/mod_authnz_ldap.so: 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!

cbidwell 04-27-2009 03:15 PM

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.


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