[pkg-cryptsetup-devel] Bug#978585: Bug#978585: libcryptsetup-dev: wrong libdir variable in libcryptsetup.pc

Guilhem Moulin guilhem at debian.org
Tue Dec 29 00:34:21 GMT 2020

Hi Luca,

On Mon, 28 Dec 2020 at 21:56:25 +0000, Luca Boccassi wrote:
> The problem is that the ${libdir} variable in the pkg-config file is
> not adjusted accordingly, so the wrong -L flags are exposed.
> Given it's a standard path this is not usually an issue when building
> reverse dependencies, but pkg-config can be used in more occasions
> than that. For example, the systemd integration test suite uses it to
> check where libraries are installed in a distro-agnostic way.

Thanks for the poke!  I'm not specially fond of that breakout link .so
/usr/lib/$DEB_HOST_MULTIARCH/libcryptsetup.so → /lib/$DEB_HOST_MULTIARCH/…
(that also causes lintian to spew a ‘breakout-link’ warning).  I'm also
not so fond of that sed rule :-P  Another way to fix the issue you
reported is to move libcryptsetup.so to /lib/$DEB_HOST_MULTIARCH/… where
the versioned link lives.  Does ec9b7931 help?  (That now causes lintian
to spew a ‘lacks-unversioned-link-to-shared-library’, but I'll silence
it following the reasoning from #843932.)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20201229/e7dd19cd/attachment.sig>

More information about the pkg-cryptsetup-devel mailing list