NetBSD Problem Report #53601
From ef@math.uni-bonn.de Thu Sep 13 07:53:02 2018
Return-Path: <ef@math.uni-bonn.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 8DF577A1EB
for <gnats-bugs@gnats.NetBSD.org>; Thu, 13 Sep 2018 07:53:02 +0000 (UTC)
Message-Id: <20180913075259.663C71BF17@trave.math.uni-bonn.de>
Date: Thu, 13 Sep 2018 09:52:59 +0200 (CEST)
From: ef@math.uni-bonn.de
Reply-To: ef@math.uni-bonn.de
To: gnats-bugs@gnats.NetBSD.org
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
>Organization:
Mathematisches Institut der Universität Bonn
>Description:
Lighttpd's authn_ldap module links to base libldap.so, 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.
>How-To-Repeat:
ldd /usr/pkg/lib/lighttpd/mod_authn_ldap.so | grep -F libldap
>Fix:
My hack is to LD_PRELOAD the pkgsrc libldap via lighttpd_env in the rc script.
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.