[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dh_shlibdeps generates dependency on uninstalled library



Hi,

dh_shlibdeps in my debian/rules seems to generate a dependency on a package
that is not even installed on my system.

% pwd
/u/thaths/local-build/gaspell/0.30/gaspell-0.30

% ldd ./gaspell | grep aspell
        libaspell.so.8 => /usr/lib/libaspell.so.8 (0x40018000)

% dpkg --info ../gaspell_0.30-6_i386.deb 
 new debian package, version 2.0.
 size 48604 bytes: control archive= 1180 bytes.
     850 bytes,    13 lines      control              
     513 bytes,     8 lines      md5sums              
     405 bytes,    11 lines   *  postinst             #!/bin/sh
     143 bytes,     4 lines   *  postrm               #!/bin/sh
     192 bytes,     6 lines   *  prerm                #!/bin/sh
 Package: gaspell
 Version: 0.30-6
 Section: x11
 Priority: optional
 Architecture: i386
 Depends: gdk-imlib1 (>= 1.9.8-4), libart2 (>= 1.0.56-3), libaspell6
(>=0.32.6-1), libaudiofile0, libc6 (>= 2.1.97), libesd0 (>= 0.2.20) |
libesd-alsa0 (>= 0.2.20), libglib1.2 (>= 1.2.0), libgnome32 (>= 1.0.56-3),
libgnomesupport0 (>= 1.0.56-3), libgnomeui32 (>= 1.0.56-3), libgtk1.2 (>=
1.2.7-1), libpspell2 (>=0.11.1-1), libstdc++2.10-glibc2.2, xlibs (>=
4.0.1-1)


<snip>

As you can clearly see, the .deb generated when I run dpkg-buildpackage
-rfakeroot depends on libaspell6 which is not even installed on my system.

% dpkg --list | grep libaspell
ii  libaspell-dev  0.32.6-1       Headers for developing applications with
asp
ii  libaspell8     0.32.6-1       The aspell spell checker runtime
libraries.

% grep libaspell6 /var/lib/dpkg/*
/var/lib/dpkg/status:Replaces: libaspell0, libaspell1, libaspell2,
libaspell3, libaspell4, libaspell5, libaspell6, aspell (<= 0.28.2.1-2)

/var/lib/dpkg/status-old:Replaces: libaspell0, libaspell1, libaspell2,
libaspell3, libaspell4, libaspell5, libaspell6, aspell (<= 0.28.2.1-2)
grep: /var/lib/dpkg/updates: Is a directory




What gives.  I am setting DH_COMPAT to 1.

Thanks.

S.
-- 
Lenny: So, Homer, if we vote for you, what are you going to do different?
Homer: What am I, the answer man?  Just vote for me.
Sudhakar C13n    http://www.aunet.org/thaths/    Lead Indentured Slave



Reply to: