Notes |
|
(0009787)
|
bwalton
|
2012-03-31 21:12
|
|
Hi Max,
Can you tell me which binary has this dependency? I'll make the required fixes when I know that.
Thanks
-Ben |
|
|
(0009788)
|
max_meyer
|
2012-04-02 11:46
|
|
Hi Ben,
ldd seems not the tool which helps a lot with this kind of problem. truss could not help either.
I used "strings" (hint from a colleague) and it turns out that "libaprutil-1.so.0" contains a string "apr_ldap-1.so".
strings /opt/csw/lib/sparcv8/libaprutil-1.so.0 | grep ldap
[...]
apr_ldap-1.so
truss:
------
1572: 3.1254 stat64("/opt/csw/lib/apr-util-1/apr_ldap-1.so", 0xFFBFEB48) = 0
1572: 3.1256 resolvepath("/opt/csw/lib/apr-util-1/apr_ldap-1.so", "/opt/csw/lib/apr-util-1/apr_ldap-1.so", 1023) = 37
1572: 3.1260 open("/opt/csw/lib/apr-util-1/apr_ldap-1.so", O_RDONLY) = 32
Cheers,
Max |
|
|
(0009790)
|
bwalton
|
2012-04-03 18:16
|
|
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 |
|
|
(0009801)
|
dam
|
2012-04-13 16:19
|
|
As CSWlibaprutil1-0 having CSWlibaprutil1-ldap as reverse dependency the static solution would be to reintegrate all APR libs into one package again - which we deliberately splitted to minimize dependency footprint. So I concur in adding CSWlibaprutil1-ldap as dependency to mod_ldap.
However, mod_ldap seems to be for Apache 1.x *only*. Are you really using the package CSWmodldap ? |
|
|
(0009803)
|
dam
|
2012-04-13 18:05
|
|
I just had a conversation on IRC with a user having the same problem. It occurred when activating
/opt/csw/apache2/libexec/mod_ldap.so
/opt/csw/apache2/libexec/mod_authnz_ldap.so
As these are part of CSWapache2 I recommend to add the dependency to CSWlibaprutil1-ldap to CSWapache2. |
|
|
(0009892)
|
bwalton
|
2012-06-02 02:30
|
|
|
|
(0010065)
|
bwalton
|
2012-07-30 03:40
|
|
Added dependency should resolve this. |
|