Hey again, On Tue, Sep 26, 2006 at 06:37:59PM +0200, David Härdeman wrote: > This leaves libpopt0 and cdebconf-newt-entropy > > I've committed a preliminary test for the presence of those two libs to > crypto_check_required_tools.
case $1 in dm-crypt) - tools="/bin/blockdev-keygen /sbin/dmsetup /sbin/cryptsetup" + tools="$tools /sbin/dmsetup /sbin/cryptsetup /lib/libpopt.so.0" This won't work, I think? We test for [ -x $tool ] further down in crypto_check_required_tools(). I think we'd need to change the test to [ -e .. ] or test separately for libs. Somehow I feel we should find a better way to test for required libraries though. Perhaps changing the error reporting in anna-install so that we could tell if a dependency couldn't be loaded? cheers, Max