Mantis - apache2
Viewing Issue Advanced Details
4882 regular use major always 2012-01-10 10:33 2012-01-17 03:00
pfelecan  
bwalton  
high  
closed  
fixed  
none    
none  
0004882: missing dependency
Initially I thought that this is related to mod_dav...

When using DAV repository access, the DBM DSO cannot be loaded and the following message appears in the error_log:

(20019)DSO load failed: The DBM driver could not be loaded

Installing libaprutil1_dbm_db solves this issue.
Issue History
2012-01-10 10:33 pfelecan New Issue
2012-01-11 04:26 bwalton Status new => assigned
2012-01-11 04:26 bwalton Assigned To => bwalton
2012-01-11 04:30 bwalton Note Added: 0009522
2012-01-11 11:11 pfelecan Note Added: 0009523
2012-01-13 04:22 bwalton Note Added: 0009530
2012-01-13 09:05 pfelecan Note Added: 0009531
2012-01-14 04:02 bwalton Note Added: 0009534
2012-01-14 10:50 pfelecan Note Added: 0009535
2012-01-17 03:00 bwalton Note Added: 0009538
2012-01-17 03:00 bwalton Status assigned => closed
2012-01-17 03:00 bwalton Resolution open => fixed

Notes
(0009522)
bwalton   
2012-01-11 04:30   
Hi Peter,

Can you confirm that this library is dlopen()'d? Checkpkg doesn't detect a missing dependency based on NEEDED libraries...
(0009523)
pfelecan   
2012-01-11 11:11   
I don't have the time to truss apache but by "black box" observation I can say that when the library is installed the message is not emitted and the a DAV related PUT works (the lock mechanism uses the DBM features). In the DAV related sources, there is a dlopen call on this library.

BTW, there is a similar issue with the libaprutil1_dbd_sqlite3 package but I think it appears when doing SVN related stuff. More difficult to confirm without trussing...
(0009530)
bwalton   
2012-01-13 04:22   
I'm building an update with a dep on libaprutil1_dbm_db. Do you feel that libaprutil1_dbd_sqlite3 also warrants a dependency from apache2? (I'm still unclear which module is sourcing the library and don't have time to setup a play DAV environment right now.)
(0009531)
pfelecan   
2012-01-13 09:05   
In my opinion, the libaprutil1_dbd_sqlite3 is used by mod_svn or dav_svn, probably the later.
(0009534)
bwalton   
2012-01-14 04:02   
I just pushed updated packages to unstable. I only added the dbm_db dep for now. Does this resolve the problem for you?
(0009535)
pfelecan   
2012-01-14 10:50   
yes
(0009538)
bwalton   
2012-01-17 03:00   
Updates released.