diff --git a/README.en.md b/README.en.md index 8374a65..ecee515 100644 --- a/README.en.md +++ b/README.en.md @@ -8,7 +8,9 @@ Common functions include database installtion, startup, stop, upgrade, backup, s - See the compilation description of the [opengauss third-party-software](https://gitee.com/opengauss/openGauss-server/blob/master/README.en.md#compiling-third-party-software)。 The final compilation and build result is stored in the binarylibs directory at the same level as openGauss-third_party. - The binarylibs directory will be the value of '-3rd' for build.sh + The binarylibs directory will be the value of '-3rd' for build.sh + You can obtain the binarylibs we have compiled. [openGauss-third_party_binarylibs-om.tar.gz](https://opengauss.obs.cn-south-1.myhuaweicloud.com/latest/binarylibs/openGauss-third_party_binarylibs-om.tar.gz) + - ./build.sh -3rd ${BINARYLIBS_PATH} The generated installation package is stored in the ./package directory: openGauss-1.1.0-CentOS-64bit-om.sha256 @@ -20,7 +22,7 @@ The OM tool strongly depends on opengaussServer. Please see the [opengauss Insta ## Quick Start -See the [Quick Start](https://opengauss.org/en/docs/1.0.1/docs/Quickstart/Quickstart.html). +See the [Quick Start](https://opengauss.org/en/docs/1.1.0/docs/Quickstart/Quickstart.html). ## Docs @@ -44,7 +46,7 @@ Welcome contributions. See our [Contributor](https://opengauss.org/en/contributi ## Release Notes -For the release notes, see our [RELEASE](https://opengauss.org/en/docs/1.0.1/docs/Releasenotes/Releasenotes.html). +For the release notes, see our [RELEASE](https://opengauss.org/en/docs/1.1.0/docs/Releasenotes/Releasenotes.html). ## License diff --git a/README.md b/README.md index 8fe0bb0..d70863b 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,8 @@ #### 编译出包 - 参考opengauss的[三方库说明](https://gitee.com/opengauss/openGauss-server#%E7%BC%96%E8%AF%91%E7%AC%AC%E4%B8%89%E6%96%B9%E8%BD%AF%E4%BB%B6),准备好编译完的三方库, - 目录名记为 ${BINARYLIBS_PATH} 。 + 目录名记为 ${BINARYLIBS_PATH} 。 + 提供编译好的三方库二进制可以直接下载使用: [openGauss-third_party_binarylibs-om.tar.gz](https://opengauss.obs.cn-south-1.myhuaweicloud.com/latest/binarylibs/openGauss-third_party_binarylibs-om.tar.gz) - ./build.sh -3rd ${BINARYLIBS_PATH} 命令执行成功后,生成的包在package目录下: openGauss-1.1.0-CentOS-64bit-om.sha256 @@ -20,7 +21,7 @@ OM工具强依赖opengaussServer,安装教程参考[opengauss安装指南](htt ## 快速入门 -参考[快速入门](https://opengauss.org/zh/docs/1.0.1/docs/Quickstart/Quickstart.html)。 +参考[快速入门](https://opengauss.org/zh/docs/1.1.0/docs/Quickstart/Quickstart.html)。 ## 文档 @@ -44,7 +45,7 @@ OM工具强依赖opengaussServer,安装教程参考[opengauss安装指南](htt ## 发行说明 -请参见[发行说明](https://opengauss.org/zh/docs/1.0.1/docs/Releasenotes/Releasenotes.html)。 +请参见[发行说明](https://opengauss.org/zh/docs/1.1.0/docs/Releasenotes/Releasenotes.html)。 ## 许可证 diff --git a/script/gs_dropnode b/script/gs_dropnode index b5c82a8..846a47b 100644 --- a/script/gs_dropnode +++ b/script/gs_dropnode @@ -26,7 +26,16 @@ import subprocess import sys import pwd import grp - +package_path = os.path.dirname(os.path.realpath(__file__)) +ld_path = package_path + "/gspylib/clib" +if 'LD_LIBRARY_PATH' not in os.environ: + os.environ['LD_LIBRARY_PATH'] = ld_path + os.execve(os.path.realpath(__file__), sys.argv, os.environ) +if not os.environ.get('LD_LIBRARY_PATH').startswith(ld_path): + os.environ['LD_LIBRARY_PATH'] = \ + ld_path + ":" + os.environ['LD_LIBRARY_PATH'] + os.execve(os.path.realpath(__file__), sys.argv, os.environ) + sys.path.append(sys.path[0]) from gspylib.common.DbClusterInfo import dbClusterInfo from gspylib.common.DbClusterStatus import DbClusterStatus diff --git a/script/gs_expansion b/script/gs_expansion index aa05816..34bc040 100644 --- a/script/gs_expansion +++ b/script/gs_expansion @@ -21,7 +21,15 @@ import os import sys - +package_path = os.path.dirname(os.path.realpath(__file__)) +ld_path = package_path + "/gspylib/clib" +if 'LD_LIBRARY_PATH' not in os.environ: + os.environ['LD_LIBRARY_PATH'] = ld_path + os.execve(os.path.realpath(__file__), sys.argv, os.environ) +if not os.environ.get('LD_LIBRARY_PATH').startswith(ld_path): + os.environ['LD_LIBRARY_PATH'] = \ + ld_path + ":" + os.environ['LD_LIBRARY_PATH'] + os.execve(os.path.realpath(__file__), sys.argv, os.environ) sys.path.append(sys.path[0]) from gspylib.common.DbClusterInfo import dbClusterInfo, \