NetBSD Problem Report #29729

From www@netbsd.org  Fri Mar 18 04:56:15 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id D2B3263B117; Fri, 18 Mar 2005 04:56:15 +0000 (UTC)
Message-Id: <20050318045615.D2B3263B117@narn.netbsd.org>
Date: Fri, 18 Mar 2005 04:56:15 +0000 (UTC)
From: sak8@eecs.cwru.edu
Reply-To: sak8@eecs.cwru.edu
To: gnats-bugs@netbsd.org
Subject: xemacs cannot build without ldap support
X-Send-Pr-Version: www-1.0

>Number:         29729
>Category:       pkg
>Synopsis:       xemacs cannot build without ldap support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    uebayasi
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 18 04:57:00 +0000 2005
>Last-Modified:  Sun Mar 20 11:06:52 +0000 2005
>Originator:     Simon Kuhn
>Release:        pkgsrc-current
>Organization:
Case Western Reserve University
>Environment:
>Description:
Built xemacs with PKG_OPTIONS.xemacs=-canna. Everything is fine, until the final link end with:

Undefined                       first referenced
 symbol                             in file
ber_pvt_opt_on                      eldap.o  (symbol belongs to implicit dependency /usr/local/lib/liblber-2.2.so.7)
ld: fatal: Symbol referencing errors. No output written to temacs

liblber is a library that comes with openldap. The configure script suggests that xemacs needs liblber solely for this symbol and can't do without it.
>How-To-Repeat:
Build xemacs without PKG_OPTIONS.xemacs=ldap
>Fix:
Set PKG_OPTIONS.xemacs=ldap -canna in my case, and the link and thus the build works fine. I suggest making this option mandatory or at least the default.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->uebayasi
Responsible-Changed-By: recht@netbsd.org
Responsible-Changed-When: Sun, 20 Mar 2005 11:06:52 +0000
Responsible-Changed-Why:
over to maintainer


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.