[Pkg-openldap-devel] Bug#670824: libldap2-dev: please provide a pkg-config file

Luca Capello luca at pca.it
Sun Apr 29 11:41:30 UTC 2012


Package: libldap2-dev
Version: 2.4.28-1.2
Severity: wishlist
Tags: upstream patch
Usertags: debian-packaging

Hi there!

While working on packaging lualdap [1], I discovered that libldap2-dev
does not provide any pkg-config file [2].  Here is an example which
returns the values used by lualdap:
=====
# cat /usr/lib/x86_64-linux-gnu/pkgconfig/libldap.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib/x86_64-linux-gnu
sharedlibdir=${libdir}
includedir=${prefix}/include

Name: libldap
Description: OpenLDAP library
Version: 2.4.28

Requires:
Libs: -L${libdir} -L${sharedlibdir} -lldap
Cflags: -I${includedir}
# pkg-config --cflags ldap

# pkg-config --libs ldap
-lldap
#
=====

Thx, bye,
Gismo / Luca

[1] <http://bugs.debian.org/670549>
[2] <http://pkg-config.freedesktop.org/>

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20120429/0119c7ff/attachment.pgp>


More information about the Pkg-openldap-devel mailing list