pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53601: www/lighttpd: mod_authn_ldap linking to base libldap, not pkgsrc



>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.



Home | Main Index | Thread Index | Old Index