openeuler2503安装oracle19c
openeuler2503安装oracle19c
1,遇到报错如下,
libclntshcore.so.19.1
libclntsh.so.19.1
解决方法,到安装包中找到缺少的文件,复制到/app/oracle/product/19c/dbhome/rdbms/lib目前中
或是重新解压安装包到安装目录。
下面是日志信息:
INFO:
/usr/bin/ld: cannot find -lclntshcore: No such file or directory
INFO:
make[2]: *** [/app/oracle/product/19c/dbhome/rdbms/lib/env_rdbms.mk:5064: dlopenlib] Error 1
INFO:
make[2]: Leaving directory '/app/oracle/product/19c/dbhome/rdbms/lib'
INFO:
make[1]: *** [/app/oracle/product/19c/dbhome/rdbms/lib/env_rdbms.mk:5042: /app/oracle/product/19c/dbhome/lib/libasmperl19.so] Error 2
INFO:
make[1]: Leaving directory '/app/oracle/product/19c/dbhome/rdbms/lib'
INFO:
make: *** [/app/oracle/product/19c/dbhome/rdbms/lib/env_rdbms.mk:5079: libasmperl19.ohso] Error 2
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'libasmclntsh19.ohso libasmperl19.ohso client_sharedlib' of makefile '/app/oracle/product/19c/dbhome/rdbms/lib/ins_rdbms.mk'. See '/tmp/InstallActions2025-07-03_04-29-23PM/installActions2025-07-03_04-29-23PM.log' for details.
2, 遇到报错如下,
/usr/lib64/libpthread_nonshared.a
解决方法,到openeuler2203版本中找到缺少的文件,复制到/usr/lib64目前中
INFO:
/app/oracle/product/19c/dbhome/bin/genclntsh
INFO:
/usr/bin/ld: cannot find /usr/lib64/libpthread_nonshared.a: No such file or directory
INFO:
genclntsh: Failed to link libclntshcore.so.19.1
INFO:
make: *** [/app/oracle/product/19c/dbhome/rdbms/lib/ins_rdbms.mk:56: client_sharedlib] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'libasmclntsh19.ohso libasmperl19.ohso client_sharedlib' of makefile '/app/oracle/product/19c/dbhome/rdbms/lib/ins_rdbms.mk'. See '/tmp/InstallActions2025-07-08_02-37-47PM/installActions2025-07-08_02-37-47PM.log' for details.
Exception Severity: 1
3,遇到如下报错,
目前未找到解决方法
INFO:
/usr/bin/ld:
INFO:
/app/oracle/product/19c/dbhome/lib//libnnzst19.a(ccme_ck_rand_load_fileS1.o): in function `r_ck_random_load_file':
ck_rand_load_file.c:(.text+0xd4): undefined reference to `stat'
INFO:
make: *** [/app/oracle/product/19c/dbhome/rdbms/lib/ins_rdbms.mk:912: /app/oracle/product/19c/dbhome/rdbms/lib/orion] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'all_no_orcl' of makefile '/app/oracle/product/19c/dbhome/rdbms/lib/ins_rdbms.mk'. See '/tmp/InstallActions2025-07-08_02-37-47PM/installActions2025-07-08_02-37-47PM.log' for details.
Exception Severity: 1
目录 返回
首页