The creation of non-portable builds is a side-effect of how RocksDB is built by make build
(we were failing to specify PORTABLE=1
). It can be avoided by building a "release" binary. The official CockroachDB release binaries are built using Docker using build/builder.sh mkrelease
which is how I'd recommend a binary be built if you're using it for anything serious. This problem has been fixed on the release-20.2 branch as of https://github.com/cockroachdb/cockroach/pull/59017.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…