[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 23:12:30 BST 2022


On 2022-05-06, at 13:59:36 +0100, Jeremy Sowden wrote:
> 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.

I've made the changes to add the static lib to the -dev package, given
the rest of the packaging a polish, and upgraded to the new upstream
version.  I don't have upload priv's for libmnl.  Would somebody mind
uploading the new package, if it's up to scratch, or giving me the
priv's?

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/22b80d72/attachment.sig>


More information about the pkg-netfilter-team mailing list