[bug-notifications] [libaprutil1_0 0004930]: mod_ldap needs another package installed (missing package dependency?)
Mantis Bug Tracker
noreply at opencsw.org
Tue Apr 3 18:16:32 CEST 2012
A NOTE has been added to this issue.
======================================================================
https://www.opencsw.org/mantis/view.php?id=4930
======================================================================
Reported By: max_meyer
Assigned To: bwalton
======================================================================
Project: libaprutil1_0
Issue ID: 4930
Category: regular use
Reproducibility: always
Severity: major
Priority: normal
Status: feedback
======================================================================
Date Submitted: 2012-03-30 09:41 CEST
Last Modified: 2012-04-03 18:16 CEST
======================================================================
Summary: mod_ldap needs another package installed (missing
package dependency?)
Description:
I stumbled over an issue using mod_ldap.
You get a HTTP error 500 with
[Fri Mar 30 09:22:28 2012] [info] [client <ip>] [389] auth_ldap
authenticate: user <user> authentication failed; URI /cgi-bin/gitweb.cgi
[LDAP: ldap initialization failed][Unknown (private extension) error]
in the error log file and ENOENT with truss
389: stat64("/opt/csw/apache2/lib/apr_ldap-1.so", 0xFFBFC330) Err#2
ENOENT
389: stat64("/opt/csw/apache2/lib/apr-util-1/apr_ldap-1.so", 0xFFBFC330)
Err#2 ENOENT
389: stat64("/opt/csw/lib/apr-util-1/apr_ldap-1.so", 0xFFBFC330) Err#2
ENOENT
The cause for the problem was a missing package. CSWapache2 doesn't depends
on it. You need to install libaprutil1_ldap (CSWlibaprutil1-ldap,
http://www.opencsw.org/packages/CSWlibaprutil1-ldap/) by hand to get it
running.
It might be worth to add that dependency to the apache2 package.
Cheers,
MaxMeyer
======================================================================
----------------------------------------------------------------------
(0009790) bwalton (administrator) - 2012-04-03 18:16
https://www.opencsw.org/mantis/view.php?id=4930#c9790
----------------------------------------------------------------------
Hi Dago,
This bug seems to indicate that the privately libraries from libaprutil
should be included in the main package (or depended on). They're being
dlopen()'d at runtime leading to issues like the one Max reported if not
available.
I could do this with dependencies in apache too, but because we're dealing
with dlopen(), I'm not sure that's the right place to fix it. If I were to
do it there, I'd split mod_ldap to ap2_mod_ldap and then make it depend on
the ldap package and apr_util_ldap.
Thoughts?
Thanks
-Ben
More information about the bug-notifications
mailing list