Opened 15 years ago

Closed 13 years ago

#23418 closed defect (worksforme)

apache2 +openldap trouble

Reported by: susan.hessel@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: apache2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (4)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to imajes@…
Port: apache2 added

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

#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

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from imajes@… to macports-tickets@…

James Cox (imajes) retires as MacPorts maintainer (see macports-mgr archives)

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

No response; assuming the user fixed it using the above instructions.

Note: See TracTickets for help on using tickets.