[MacPorts] #23418: apache2 +openldap trouble
MacPorts
noreply at macports.org
Thu Feb 4 22:12:31 PST 2010
#23418: apache2 +openldap trouble
---------------------------------------+------------------------------------
Reporter: susan.hessel@… | Owner: imajes@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: apache2
---------------------------------------+------------------------------------
Old description:
> I am trying to use open directory to authenticate my svn users via
> apache2.
>
> Everything was set up and working anonymously. When I added LoadModule
> ldap_module and LoadModule authnz_ldap_module to the httpd.conf I
> discovered they were not in the modules folder.
>
> I ran port install apache2 +openldap. I had to run port install apr- util
> +openldap before apache2 +openldap could install.
>
> Now I get the following error when trying to restart apache:
>
> {{{
> httpd: Syntax error on line 118 of /opt/local/apache2/conf/httpd.conf:
> Cannot load /opt/local/apache2/modules/mod_ldap.so into server:
> dlopen(/opt/local/apache2/modules/mod_ldap.so, 10): Symbol not found:
> _ldap_compare_s\n Referenced from: /opt/local/apache2/modules/
> mod_ldap.so\n Expected in: dynamic lookup\n
> }}}
>
> I saw similar error referred to in regards to "mod_ssl, Apache2 and
> Leopard with patch -- doesn't work" (tickets: #13182and #11755), but I
> wasn't sure the solution would be the same. I am installing on Leopard
> Server.
>
> I posted the trouble to the users listserve, but have had no response.
> oCould this ba a trouble with the port variant?
>
> Thanks,
>
> Sue
New description:
I am trying to use open directory to authenticate my svn users via
apache2.
Everything was set up and working anonymously. When I added LoadModule
ldap_module and LoadModule authnz_ldap_module to the httpd.conf I
discovered they were not in the modules folder.
I ran port install apache2 +openldap. I had to run port install apr-util
+openldap before apache2 +openldap could install.
Now I get the following error when trying to restart apache:
{{{
httpd: Syntax error on line 118 of /opt/local/apache2/conf/httpd.conf:
Cannot load /opt/local/apache2/modules/mod_ldap.so into server:
dlopen(/opt/local/apache2/modules/mod_ldap.so, 10): Symbol not found:
_ldap_compare_s\n Referenced from: /opt/local/apache2/modules/
mod_ldap.so\n Expected in: dynamic lookup\n
}}}
I saw similar error referred to in regards to "mod_ssl, Apache2 and
Leopard with patch -- doesn't work" (tickets #13182 and #11755), but I
wasn't sure the solution would be the same. I am installing on Leopard
Server.
I posted the trouble to the users listserve, but have had no response.
Could this be a trouble with the port variant?
Thanks,
Sue
--
Comment(by ryandesign@…):
#13182 is another "Symbol not found" in an Apache module, other than that
it's not similar to your issue. #11755 doesn't seem related at all.
I suspect your issue relates to openldap having been recently updated.
Please rebuild any port that uses openldap, e.g.
{{{
port dependents openldap | cut -d " " -f 1 | xargs sudo port -n upgrade
--force
}}}
--
Ticket URL: <http://trac.macports.org/ticket/23418#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list