-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Build
-
Fully Compatible
-
Platforms F (01/29/16)
When gccgo compiles binaries, it dynamically links those binaries with libgo.so. This requires that users have libgo.so installed.
MongoDB should compile binaries with static linking for libgo instead.
Example:
go build -gccgoflags '-static-libgo' -o bin/mongodump mongodump/main/mongodump.go