Channels
  • v

    vivek

    3 years ago
    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?
  • srozb

    srozb

    3 years ago
    i did build on u18.04 exactly the way it's described in the docs and my binary size was like 36 mb
  • Nick Kuzmik

    Nick Kuzmik

    3 years ago
    can you strip the binary?
    might help a bit
  • v

    vivek

    3 years ago
    @Nick Kuzmik Thanks. Strip Works. 'make' creates binaries with debug data and 'make package' strips those debug info from the binary.