[shawnyan@rocky9 antdb-ce-7.2.0.centos8.x86_64]$ ./antdb_install.sh -s [Info] AntDB install begins The current operating system hardware resources are less than the recommended hardware requirements for antdb operation. ... Continue the installation. It is recommended to improve the hardware configuration to improve the user experience. No package was found. The current operating system needs a package like antdb-.*.rocky.x86_64.tar.gz. Please check the installation package. Exit. [shawnyan@rocky9 antdb-ce-7.2.0.centos8.x86_64]$
找到相关的判断逻辑,然后增加 Rocky 部分即可。
1
vi ./setup/common/setup-common
在第 252 行增加如下判断。
1 2 3 4 5
//:252 Rocky) os_version=8 os_name="CentOS" ;;
再次安装,遇到报错,提示缺少共享库文件。
1
/home/shawnyan/app/antdb/bin/initdb: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory