[MacPorts] #23418: apache2 +openldap trouble

MacPorts noreply at macports.org
Mon Jan 25 11:47:55 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            
---------------------------------------+------------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => imajes@…
  * 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: #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

--

-- 
Ticket URL: <http://trac.macports.org/ticket/23418#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list