I rather suggest droping .la file from package. Libtool is a crap. Or at least fix it, so it does have those libraries in private section of .la file.
O. Dne 158 2009, 6:04 AM "Mike Markley" <m...@markley.org> napsal/a: Package: libunbound-dev Version: 1.3.2-1 Severity: normal libunbound-dev in sid ships a .la file that includes dependencies on libldns and libcrypto: $ grep dependency_libs /usr/lib/libunbound.la # Linker flags that can not go in dependency_libs. dependency_libs=' -lldns -lcrypto' This causes libtool-based build systems to attempt to link against those libraries whenever using -lunbound. However, the package does not depend on the appropriate library packages, so linking fails. Suggested fix: add libldns-dev and libssl-dev to libunbound-dev's Depends: line. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libunbound-dev depends on: ii libunbound1 1.3.2-1 library implementing DNS resolutio libunbound-dev recommends no packages.