Doing a direct go build . gives a dynamically linked executable which depends on librocksdb and doesnt run on machines which do not have rocksDB installed. I’m working on creating a statically linked binary and let’s see if it works out. go build --ldflags '-extldflags "-static"' .
1 Like