Closed leogr closed 5 months ago
I have tested the dynamic linking patches merged in master with the following configurations:
As expected, with DEB and RPM packages the libelf dependency is automatically downloaded via the OS package manager. When installing via tgz, the library needs to be installed in the system beforehand. The container images are working properly except for an issue identified in the distroless/wolfi container. I already opened a PR for it, once it's merged I think we can close this issue.
This is complete, libelf
is now dynamically linked in Falco.
Motivation
While reviewing our license exception request for
libelf
(LGPL licensed), the CNCF Legal Committee noted thatlibelf
is currently statically linked inside the Falco binary. Instead, they recommend dynamically linking tolibelf
so that the library remains separable from Falco at runtime. This allows us to comply with the CNCF license policy.This issue will track all related items to accomplish their request.