From roelof@nisser.com  Thu Feb 15 15:07:29 2001
Return-Path: <roelof@nisser.com>
Received: from nisser.com (c0039.upc-c.chello.nl [212.187.0.39])
	by hub.freebsd.org (Postfix) with ESMTP id 3F58F37B4EC
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Feb 2001 15:07:28 -0800 (PST)
Received: (from roelof@localhost)
	by nisser.com (8.9.3/8.9.2) id AAA55727;
	Fri, 16 Feb 2001 00:07:27 +0100 (CET)
	(envelope-from roelof)
Message-Id: <200102152307.AAA55727@nisser.com>
Date: Fri, 16 Feb 2001 00:07:27 +0100 (CET)
From: roelof@eboa.com
Reply-To: roelof@eboa.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: mail/postfix fails on ldap
X-Send-Pr-Version: 3.2

>Number:         25122
>Category:       ports
>Synopsis:       lots of undefined references
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 15 15:10:01 PST 2001
>Closed-Date:    Fri Mar 16 15:04:53 PST 2001
>Last-Modified:  Fri Mar 16 15:05:25 PST 2001
>Originator:     Roelof Osinga
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
eBOA
>Environment:

fairly recent ports cvsup. SASL, Heimdal, openldap2, etc.

>Description:

===>  Extracting for postfix-20010204
>How-To-Repeat:

This was after having installed openldap, like problems occurred when
having just openldap2 installed.

>Fix:
	
Please!


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-ports 
Responsible-Changed-By: peter 
Responsible-Changed-When: Mon Feb 19 11:49:53 PST 2001 
Responsible-Changed-Why:  
Misfiled 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25122 
State-Changed-From-To: open->feedback 
State-Changed-By: steve 
State-Changed-When: Sun Feb 25 19:11:14 PST 2001 
State-Changed-Why:  
Are you still experiencing these problems?  If so, can you work up a 
patch that fixes the problem for you?  Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25122 

From: dirk.meyer@dinoex.sub.org (Dirk Meyer)
To: freebsd-gnats-submit@FreeBSD.org, roelof@eboa.com
Cc:  
Subject: Re: ports/25122: lots of undefined references
Date: Sat, 10 Mar 2001 08:04:50 +0100

 This looks like a ldav-v1 ldap-v2 version problem to me.
 The "Init" function has changed.
 
 kind regards Dirk
 
 - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Tel 05606/6512 Q (voice)
 - Origin: DINOEX Habichtswald  -FRG-  [dirk.meyer@dinoex.sub.org]
State-Changed-From-To: feedback->closed 
State-Changed-By: vanilla 
State-Changed-When: Fri Mar 16 15:04:53 PST 2001 
State-Changed-Why:  
Well, please try latest version of postfix(20010228). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25122 
>Unformatted:
 >> Checksum OK for snapshot-20010204.tar.gz.
 ===>   postfix-20010204 depends on file: /usr/local/lib/libpcre.a - found
 ===>   postfix-20010204 depends on file: /usr/local/lib/libsasl.a - found
 ===>   postfix-20010204 depends on file: /usr/local/lib/libldap.a - found
 ===>  Patching for postfix-20010204
 ===>  Applying FreeBSD patches for postfix-20010204
 
 gcc -Wmissing-prototypes -Wformat -DHAS_PCRE -I/usr/local/include
 -DUSE_SASL_AUT
 H -I/usr/local/include -DHAS_LDAP -I/usr/local/include  -O -pipe -I.
 -I../../inc
 lude -DFREEBSD4 -c error.c
 gcc -Wmissing-prototypes -Wformat -DHAS_PCRE -I/usr/local/include
 -DUSE_SASL_AUT
 H -I/usr/local/include -DHAS_LDAP -I/usr/local/include  -O -pipe -I.
 -I../../inc
 lude -DFREEBSD4 -o error error.o ../../lib/libmaster.a ../../lib/libglobal.a
 ../
 ../lib/libutil.a /usr/local/lib/libpcre.a /usr/local/lib/libsasl.a -lpam
 -lcrypt
  -lkrb -ldes -lcom_err /usr/local/lib/libldap.a /usr/local/lib/liblber.a
 /usr/local/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_init':
 cyrus.o(.text+0x24): undefined reference to `sasl_set_alloc'
 cyrus.o(.text+0x31): undefined reference to `sasl_client_init'
 /usr/local/lib/libldap.a(cyrus.o): In function `sb_sasl_read':
 cyrus.o(.text+0x372): undefined reference to `sasl_decode'
 cyrus.o(.text+0x3c5): undefined reference to `sasl_errstring'
 /usr/local/lib/libldap.a(cyrus.o): In function `sb_sasl_write':
 
  ...
 
 tls.o(.text+0x109a): undefined reference to `SSL_alert_type_string_long'
 tls.o(.text+0x10bf): undefined reference to `SSL_state_string_long'
 tls.o(.text+0x10e6): undefined reference to `SSL_state_string_long'
 *** Error code 1
 
