Source: dnstap-ldns
Version: 0.2.0-5
Followup-For: Bug #1020002
X-Debbugs-Cc: tsu.y...@gmail.com

Dear Maintainer,

I am just looking at the issue and find interesting something.

As build log reported, it fails to build due to that is libldns' 
not found. 

This problem exists in libldns package. Its' .pc file is below:

```
(sid-amd64-sbuild)root@dev:/home/vimer/build/09/05_dnstap-ldns/dnstap-ldns-0.2.0#
 cat /usr/lib/x86_64-linux-gnu/pkgconfig/ldns.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib/x86_64-linux-gnu
includedir=${prefix}/include

Name: ldns
Description: Library for DNS programming
URL: http://www.nlnetlabs.nl/projects/ldns
Version: 1.8.3
Requires:
Libs: -L${libdir} -lldns
Libs.private: -Wl,-z,relro -Wl,-z,now
Cflags: -I${includedir}
```
and 

```
(sid-amd64-sbuild)root@dev:/home/vimer/build/09/05_dnstap-ldns/dnstap-ldns-0.2.0#
 pkg-config --list-all
iso-codes        iso-codes - ISO country, language, script and currency codes 
and translations
ldns             ldns - Library for DNS programming
libcrypt         libxcrypt - Extended crypt library for DES, MD5, Blowfish and 
others
libcrypto        OpenSSL-libcrypto - OpenSSL cryptography library
libfstrm         libfstrm - FrameStream C library
libnsl           libnsl - Library containing NIS functions using TI-RPC (IPv6 
enabled)
libprotobuf-c    protobuf-c - Protocol Buffers implementation in C
libssl           OpenSSL-libssl - Secure Sockets Layer and cryptography 
libraries
libtirpc         libtirpc - Transport Independent RPC Library
libxcrypt        libxcrypt - Extended crypt library for DES, MD5, Blowfish and 
others
openssl          OpenSSL - Secure Sockets Layer and cryptography libraries and 
tools
shared-mime-info shared-mime-info - Freedesktop common MIME database
```

As the result list, I try modify the dnstap-ldns/configure.ac from
libldns to ldns:

```
PKG_CHECK_MODULES([libldns], [libldns])
```

It does not work also. it can only look for libldns library,
just ldns is not enough from my experiment.

So I rename ldns.pc to libldns.pc and its content Name:(ldns->libldns)
and it works.

I am not sure I understand it correctlly about pkg-config mechanism with
devel package's pc file. But it should be the root cause in the issue
from my view.

If so, what should we do next step?

-- 
Regards,
--
  Bo YU

Attachment: signature.asc
Description: PGP signature

Reply via email to