How to build MongoDB as a static executable

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I wanted to know if its possible to build 'mongod' statically. I am using following command and I see that build is success full but binary is still dynamically linked..

      scons --link-model=static -j 44 CCFLAGS=" -march=armv8-a+crc -static" --disable-warnings-as-errors

      Any inputs on what compile options I should use to get statically linked executable?

            Assignee:
            Andrew Morrow (Inactive)
            Reporter:
            Praveen Arkeri
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: