Bug#408987: [Pkg-openldap-devel] Bug#408987: Two dependancies on libldap-2.3-0 in the debian/control file

Russ Allbery rra at debian.org
Mon Jan 29 21:41:55 CET 2007


Xavier Oswald <x.oswald at free.fr> writes:

> Package: slapd
> Version: 2.3.30-2
> Severity: minor

> Hi,

> Depends: libc6 (>= 2.3.6-6), libdb4.2, libiodbc2 (>= 3.52.4), libldap-2.3-0,
> libltdl3 (>= 1.5.2-2), libperl5.8 (>= 5.8.8), libsasl2-2, libslp1,
> libssl0.9.8 (>= 0.9.8c-1), libwrap0, coreutils (>= 4.5.1-1), psmisc,
> perl (>> 5.8.0) | libmime-base64-perl, libldap-2.3-0 (= 2.3.30-2), adduser

> With a apt-cache show slapd, as you can see, slapd depends two times on
> libldap-2.3-0, so you can just keep libldap-2.3-0 (= 2.3.30-2) AFAIK.

It turns out to be very hard to fix this if a package needs a tighter
dependency on its own libraries than the shlibs file.  It happens, from
time to time, that binaries that come with the package have a tight
dependency on the internal behavior of the library but general
applications don't need to care as much.  This comes up with the krb5
package as well.  But it's annoyingly difficult to convince dpkg-shlibdeps
to do the right thing without generating multiple dependencies.

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>




More information about the Pkg-openldap-devel mailing list