At Sat, 15 May 2004 17:38:20 +1000, Herbert Xu wrote: > When ldconfig is run with libncurses5 + libncurses5-dev installed, it > creates a symlink /usr/lib/libncurses.so.5 that points to libtermcap.so. > The latter is a symlink to libncurses.so which is a symlink to > /lib/libncurses.so.5. > > This in itself is no great drama. > > However, this totally confuses dpkg-shlibdeps as it fails to determine the > correct shlib dependency for libncurses5. In fact, it will happily build > packages that use libncurses5 with no dependency on it at all: > > $ dpkg-shlibdeps.orig debian/tmp/usr/bin/telnet.netkit > dpkg-shlibdeps.orig: warning: could not find any packages for > /usr/lib/libncurses.so.5 (libncurses.so.5) > dpkg-shlibdeps.orig: warning: unable to find dependency information for shared > library libncurses (soname 5, path /usr/lib/libncurses.so.5, dependency field > Depends) > $ echo $? > 0 > $ cat debian/substvars > shlibs:Depends=libc6 (>= 2.3.2.ds1-4), libgcc1 (>= 1:3.3.3-1), libstdc++5 (>= > 1:3.3.3-1) > $
"apt-get source netkit-telnet" got netkit-telnet_0.17-22. I execute "debuild". Then I run dpkg-shlibdeps in dpkg-dev 1.10.21: [EMAIL PROTECTED]:~/debian/sample/netkit-telnet/netkit-telnet-0.17> dpkg-shlibdeps debian/tmp/usr/bin/telnet.netkit [EMAIL PROTECTED]:~/debian/sample/netkit-telnet/netkit-telnet-0.17> cat debian/substvars shlibs:Depends=libc6 (>= 2.3.2.ds1-4), libgcc1 (>= 1:3.3.3-1), libncurses5 (>= 5.4-1), libstdc++5 (>= 1:3.3.3-1) Regards, -- gotom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

