Falco version: tested against libs a03ccfda795f2ba711b80f69cb06869f2b63121b
System info: (I don't have falco installed)
Cloud provider or hardware configuration: amd64
OS: Gentoo Linux
Kernel: 5.14.11-gentoo-dist
Installation method: from git checkout, also reproduced with sysdig 0.27.1
Additional context
grpc seems to include both pkg-config and cmake files. The pkg-config file seems to correctly list all needed libraries, find_package() would probably also work correctly.
Hi! Can confirm the issue!
As you outlined, problem is we are not correctly linking all grpc deps libraries; i will have a look at it, as i'm looking forward to build Falco with local deps myself too ;)
Describe the bug
When attempting to build sinsp against system grpc, the build fails due to underlinking:
A similar problem affects sysdig, also through
libsinsp.a
.How to reproduce it
Expected behaviour
Successful build ;-).
Environment
Additional context
grpc seems to include both pkg-config and cmake files. The pkg-config file seems to correctly list all needed libraries,
find_package()
would probably also work correctly.