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!
Last edited by laggerific; 02-11-2009 at 07:41 PM.
|