NetBSD Problem Report #53601

From  Thu Sep 13 07:53:02 2018
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 8DF577A1EB
	for <>; Thu, 13 Sep 2018 07:53:02 +0000 (UTC)
Message-Id: <>
Date: Thu, 13 Sep 2018 09:52:59 +0200 (CEST)
Subject: www/lighttpd: mod_authn_ldap linking to base libldap, not pkgsrc
X-Send-Pr-Version: 3.95

>Number:         53601
>Category:       pkg
>Synopsis:       www/lighttpd: mod_authn_ldap linking to base libldap, not pkgsrc
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 13 07:55:00 +0000 2018
>Originator:     Edgar Fuß
>Release:        pkgsrc-2018Q2
Mathematisches Institut der Universität Bonn
	Lighttpd's authn_ldap module links to base, not pkgsrc's.
	However, it's built against pkgsrc OpenLDAP.
	The result is the module reporting missing symbols (ldap_destroy, in my case).
	If your base ldap is not much older than your pkgsrc one, the problem may surface so obviously. Probably other Bad Things happen.
	ldd /usr/pkg/lib/lighttpd/ | grep -F libldap
	My hack is to LD_PRELOAD the pkgsrc libldap via lighttpd_env in the rc script.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.