From 0c0e994722abf73830e5f40af7f861fe97733db6 Mon Sep 17 00:00:00 2001 From: "jaeseung.bae" Date: Fri, 13 Oct 2023 16:01:11 +0900 Subject: [PATCH] docs: add static build for centOS --- docs/finschia-tutorials/installation.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/finschia-tutorials/installation.md b/docs/finschia-tutorials/installation.md index ecb0ec54..06c77a5f 100644 --- a/docs/finschia-tutorials/installation.md +++ b/docs/finschia-tutorials/installation.md @@ -24,9 +24,21 @@ source ~/.bash_profile **Go 1.20+** is required for the Finschia SDK. ::: +## Static build(Optional) + +### CentOS + +```bash +# May need to install static libraries for linking +$ sudo yum install glibc-static.x86_64 libstdc++-static -y + +# Build statically +LINK_STATICALLY=true make build +``` + ## Install the binaries -Next, let's install the latest version of Gaia. Make sure you `git checkout` the +Next, let's install the latest version of Finschia. Make sure you `git checkout` the correct [released version](https://github.com/Finschia/finschia/releases). ```bash