Another possible way is obviously not shipping with all the dependencies statically compiled and take the ones from the system; though this won't work for our process, it can work for distro maintainers.
We are still in the process of introducing a way to compile with system libraries; right now though, @Anatol Pomazau, one of the Arch Linux maintainers have a custom branch we helped a bit kickstarting, to get it compiled with system libs: https://github.com/anatol/osquery/commits/archlinux-rebase-4.2.0
Arun K A
05/15/2020, 5:37 PM
Thanks for sharing. I was more lookin for a way to just build OSQuery more like a framework which supports extension and plugin.