[Pkg-cryptsetup-devel] Bug#358452: cryptsetup-udeb: are three library udeb's really necessary

Jonas Meurer jonas at freesources.org
Wed Apr 12 15:20:52 UTC 2006


On 12/04/2006 David Härdeman wrote:
> I've taken a closer look at the current situation, and it seems likely that
> the list can be shortened...
> 
> Running "ldd /sbin/cryptsetup" yields:
>     linux-gate.so.1 =>  (0xffffe000)
>     libpopt.so.0 => /lib/libpopt.so.0 (0xb7ef5000)
>     libdevmapper.so.1.02 => /lib/libdevmapper.so.1.02 (0xb7ee4000)
>     libuuid.so.1 => /lib/libuuid.so.1 (0xb7ee0000)
>     libc.so.6 => /lib/tls/libc.so.6 (0xb7da8000)
>     libselinux.so.1 => /lib/libselinux.so.1 (0xb7d94000)
>     /lib/ld-linux.so.2 (0xb7f0b000)
>     libdl.so.2 => /lib/tls/libdl.so.2 (0xb7d90000)
>     libsepol.so.1 => /lib/libsepol.so.1 (0xb7d51000)
> 
> no trace of libgpg-error0 and libgcrypt11 there...looking at the debian/rules
> file we see:
> 
>     ...
>     # cannot depend on libraries in /usr !
>     gcc lib/.libs/*.o src/*.o luks/.libs/*.o -o src/cryptsetup.static \
>         -lpopt -ldevmapper -luuid /usr/lib/libgcrypt.a \
>         /usr/lib/libgpg-error.a
>     ...
> 
> 
> So if libgpg-error0 and libgcrypt11 are statically linked into cryptsetup, and
> libdevmapper and libuuid already have udebs, only a libpopt udeb (bug #358671)
> should be needed and the wishlist bugs against libgpg-error0 and libgcrypt11
> can be dropped.
> 
> Jonas, is this analysis correct?

you're absolutely correct. i already got this weeks ago, sorry for being
too stupid to send one single email. i just didn't have time to take a
closer look.

...
 jonas




More information about the Pkg-cryptsetup-devel mailing list