From nobody@FreeBSD.org  Tue Feb 19 07:35:17 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id EB2FD37B400
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Feb 2002 07:35:16 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g1JFZGq19317;
	Tue, 19 Feb 2002 07:35:16 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200202191535.g1JFZGq19317@freefall.freebsd.org>
Date: Tue, 19 Feb 2002 07:35:16 -0800 (PST)
From: Edwin Culp <eculp@encontacto.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Undefined symbol "ldap_get_dn" when trying to start apache+mod_ssl-1.3.23+2.8.6. with www/auth_ldap 
X-Send-Pr-Version: www-1.0

>Number:         35117
>Category:       ports
>Synopsis:       Undefined symbol "ldap_get_dn" when trying to start apache+mod_ssl-1.3.23+2.8.6. with www/auth_ldap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 19 07:40:03 PST 2002
>Closed-Date:    Sat May 17 10:04:55 CEST 2003
>Last-Modified:  Sat May 17 10:04:55 CEST 2003
>Originator:     Edwin Culp
>Release:        Current
>Organization:
NA
>Environment:
FreeBSD worldinternet.org 5.0-CURRENT FreeBSD 5.0-CURRENT #68: Thu Feb 14 15:02:42 PST 2002     root@worldinternet.org:/usr/obj/usr/src/sys/PIII850N  i386     
>Description:
I just compiled www/auth_ldap on current as of this morning 
and get the following error when trying to start 
apache+mod_ssl-1.3.23+2.8.6.

Cannot load /usr/local/libexec/apache/auth_ldap.so into server: \
/usr/local/libexec/apache/auth_ldap.so: Undefined symbol "ldap_get_dn"

/usr/local/sbin/apachectl start: httpd could not be started

>How-To-Repeat:
apachectl startssl or apachectl start     
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Taoka Fumiyoshi <fmysh@quad.dyndns.org>
To: freebsd-gnats-submit@FreeBSD.org, eculp@encontacto.net
Cc:  
Subject: Re: ports/35117: Undefined symbol "ldap_get_dn" when trying to start
 apache+mod_ssl-1.3.23+2.8.6. with www/auth_ldap
Date: Mon, 25 Mar 2002 21:11:02 +0900

 Here is a quick patch. I don't know why a dynamic linker can not find
 the libraries in detail.
 
 --- httpd.conf.bak      Mon Mar 25 20:44:06 2002
 +++ httpd.conf  Mon Mar 25 20:46:39 2002
 @@ -237,7 +237,9 @@
  LoadModule setenvif_module    libexec/apache/mod_setenvif.so
  <IfDefine SSL>
  LoadModule ssl_module         libexec/apache/libssl.so
 -LoadModule ldap_module        libexec/apache/auth_ldap.so
 +LoadFile /usr/local/lib/liblber.so
 +LoadFile /usr/local/lib/libldap.so
 +LoadModule auth_ldap_module   libexec/apache/auth_ldap.so
  </IfDefine>
 
  #  Reconstruction of the complete module list from all available modules
 @@ -280,7 +282,7 @@
  AddModule mod_setenvif.c
  <IfDefine SSL>
  AddModule mod_ssl.c
 -AddModule mod_ldap.c
 +AddModule auth_ldap.c
  </IfDefine>
 
  #
 
Responsible-Changed-From-To: freebsd-ports->nik 
Responsible-Changed-By: tom 
Responsible-Changed-When: Mon Nov 4 12:12:46 PST 2002 
Responsible-Changed-Why:  
This looks like an auth_ldap problem.  Reassign to auth_ldap's 
MAINTAINER (nik). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35117 
Responsible-Changed-From-To: nik->ports 
Responsible-Changed-By: nik 
Responsible-Changed-When: Sun Nov 24 10:54:55 PST 2002 
Responsible-Changed-Why:  
No longer MAINTAINER for this port. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35117 
Responsible-Changed-From-To: ports->freebsd-ports 
Responsible-Changed-By: dinoex 
Responsible-Changed-When: Sun Dec 1 20:11:40 PST 2002 
Responsible-Changed-Why:  
Fix misfiled Resp. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35117 
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Sat May 17 10:02:46 CEST 2003 
State-Changed-Why:  
A fix has beenn committed. 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/auth_ldap/Makefile.diff?r1=1.3&r2=1.4&f=h 


Responsible-Changed-From-To: freebsd-ports-bugs->dinoex 
Responsible-Changed-By: dinoex 
Responsible-Changed-When: Sat May 17 10:02:46 CEST 2003 
Responsible-Changed-Why:  
I looked into this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35117 
>Unformatted:
