Hai all, I am trying to build osquery in Ubuntu 18.04 and everything works fine. But the size of the oqueryd and osqueryi binaries from the build is almost 207MB. I can see that the binaries from the deb is almost 36MB only. I did a cmake release build. Is there any optimisation flags i m missing or this is normal?
s
srozb
03/06/2019, 2:53 PM
i did build on u18.04 exactly the way it's described in the docs and my binary size was like 36 mb
n
Nick Kuzmik
03/06/2019, 3:07 PM
can you strip the binary?
Nick Kuzmik
03/06/2019, 3:07 PM
might help a bit
v
vivek
03/07/2019, 11:41 AM
@Nick Kuzmik Thanks. Strip Works. 'make' creates binaries with debug data and 'make package' strips those debug info from the binary.