https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63731
--- Comment #25 from Tatsushi Inagaki <e29253 at jp dot ibm.com> --- What is the most recommended way when we want to use the net package in a statically linked binary? My impression is that a statically linked binary also should call dlopen() (and thus we should export LD_LIBRARY_PATH), if the corresponding dynamically linked binary do so to resolve DNS. https://sourceware.org/glibc/wiki/FAQ#Even_statically_linked_programs_need_some_shared_libraries_which_is_not_acceptable_for_me.__What_can_I_do.3F Or, can we expect that netgo can be enabled with 'go build -a' again in Go 1.5? https://github.com/golang/go/issues/9369