最小化安装openeuler-22.03-sp1,并更新到最新(写本文时:2023-06-01)
关闭selinux
关闭firewalld.service
创建用户及用户组: oracle:oinstall
创建推荐的目录: /u01 ,属主 oracle:oinstall
yum install libnsl libnsl2-devel libaio-devel libcap-devel xorg-x11-utils xauth gcc make libstdc++-devel sysstat smartmontools glibc-compat-2.17
### oracle 12c+提示warning,所以给它安装上
yum install gcc-c++ net-tools
#####################################################
关于 stat、fstat 符号缺少问题,解决方案
下载旧版本的兼容glibc库:
wget https://mirrors.ustc.edu.cn/centos/7/os/x86_64/Packages/compat-glibc-headers-2.12-4.el7.centos.x86_64.rpm
wget https://mirrors.ustc.edu.cn/centos/7/os/x86_64/Packages/compat-glibc-2.12-4.el7.centos.x86_64.rpm
解压:
rpm2cpio compat-glibc-2.12-4.el7.centos.x86_64.rpm |cpio -idmv
提取glibc高版本废弃删除的旧stat、fstat静态非共享目标文件:
ar x ./usr/lib/x86_64-redhat-linux6E/lib64/libc_nonshared.a
添加到当前系统的静态库中:/usr/lib64/libc_nonshared.a
ar r /usr/lib64/libc_nonshared.a stat*.oS
ar r /usr/lib64/libc_nonshared.a fstat*.oS
标签:x86,centos,glibc,devel,oracle12c,64,Oracle,22.03,lib64 From: https://www.cnblogs.com/jinzhenshui/p/17452053.html