[pkg-netfilter-team] Bug#1010616: libmnl-dev: The libmnl.a is missing in libmnl-dev. Static build fails.

Jeremy Sowden jeremy at azazel.net
Fri May 6 13:59:36 BST 2022


On 2022-05-05, at 16:50:46 +0200, Lars Ekman wrote:
> Package: libmnl-dev
> Version: 1.0.4-3build2
> Severity: normal
> X-Debbugs-Cc: lars.g.ekman at est.tech
> 
> Dear Maintainer,
> 
>  # gcc -o /tmp/hello /tmp/hello.c -lmnl
> (dynamic libs work)
> # gcc -static -o /tmp/hello /tmp/hello.c -lmnl
> /usr/bin/ld: cannot find -lmnl: No such file or directory
> 
> Since this is on Ubuntu 22.04 I reported the bug here:
> 
> https://bugs.launchpad.net/ubuntu/+source/libmnl/+bug/1971523
> 
> but was told that this is a Debian bug and asked to report it to you
> to improve the quality of the original package.

The default build of libmnl doesn't include the static library: it needs
to be explicitly enabled.  I'll make the necessary changes.

J.
-------------- 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-netfilter-team/attachments/20220506/069d0729/attachment.sig>


More information about the pkg-netfilter-team mailing list