View Issue Details

IDProjectCategoryView StatusLast Update
0018151CentOS-8-OTHERpublic2021-04-23 13:27
Reporteralexander@mihalicyn.com Assigned To 
PrioritynormalSeveritytrivialReproducibilityhave not tried
Status newResolutionopen 
Product Version8.3.2011 
Summary0018151: nftables package lacks pkgconfig file
DescriptionIn CRIU project [1] we use integration with nftables using libnftables. But CentOS 8 nftables package provides no pkgconfig file:
# pkgconf --libs libnftables
on Fedora (for example):
# pkgconf --libs libnftables
-lnftables

Another problem is that in CentOS 8 nftables package there are no libnftables.so file in package, which makes ld unhappy if we try to specify needed linkage option manually:
# ld -lnftables
ld: cannot find -lnftables

# strace ld -lnftables
...
openat(AT_FDCWD, "//usr/lib64/libnftables.so", O_RDONLY) = -1 ENOENT (No such file or directory)
...

# ls -la /usr/lib64 | grep nftables
lrwxrwxrwx. 1 root root 20 Aug 11 2020 libnftables.so.1 -> libnftables.so.1.0.0
-rwxr-xr-x. 1 root root 692256 Aug 11 2020 libnftables.so.1.0.0

[1] https://github.com/checkpoint-restore/criu/issues/1416
Steps To Reproduce# pkgconf --libs libnftables

# ld -lnftables
Tagscentos 8, netfilter, network, nftables

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-04-11 09:06 alexander@mihalicyn.com New Issue
2021-04-23 13:26 alexander@mihalicyn.com Tag Attached: netfilter
2021-04-23 13:27 alexander@mihalicyn.com Tag Attached: nftables
2021-04-23 13:27 alexander@mihalicyn.com Tag Attached: network
2021-04-23 13:27 alexander@mihalicyn.com Tag Attached: centos 8