重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4554|回复: 0
打印 上一主题 下一主题

[安装] 在linux7上19c 安装报libclntsh.so 出错

[复制链接]
跳转到指定楼层
楼主
发表于 2020-10-13 15:14:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
19c Installation Fails with error "libclntsh.so: file format not recognized; treating as linker script" (Doc ID 2631283.1)
To Bottom

In this Document
Symptoms
Changes
Cause
Solution

Applies to:
Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later
Linux x86-64
Symptoms
Relink errors during 19c installation
From installActions<time stamp>.log
Error invoking target 'libasmclntsh.ohso libasmperl19.ohso client_sharedlib of makefile
/usr/bin/ld:$ORACLE_HOME/lib/libclntsh.so: file format not recognized; treating as linker script
/usr/bin/ld:$ORACLE_HOME/lib/libclntsh.so:1: syntax error
INFO:
make[2]: *** [dlopenlib] Error 1
INFO:
make[2]: Leaving directory `$ORACLE_HOME/rdbms/lib'
INFO:
make[1]: Leaving directory `$ORACLE_HOME/rdbms/lib'
INFO:
make[1]: *** [$ORACLE_HOME/lib/libasmperl19.so] Error 2
INFO:
make: *** [libasmperl19.ohso] Error 2


Changes

Cause
File Corruption.   Following files are not correct
# ls -l libcln*
-rwxr-x---. 1 oracle oinstall 21 Jan 20 01:05 libclntshcore.so <<<<<<<<<<<<<<<<<<<<<<<<<<< Should be a soft link to libclntshcore.so.19.1
-rwxr-x---. 1 oracle oinstall 8040416 Jan 20 01:05 libclntshcore.so.19.1
-rwxr-x---. 1 oracle oinstall 17 Jan 20 01:05 libclntsh.so <<<<<<<<<<<<<<<<<<<<<<<<<<< Should be a soft link to libclntsh.so.19.1
-rwxr-x---. 1 oracle oinstall 12 Jan 20 01:05 libclntsh.so.10.1 <<<<<<<<<<<<<<<<<<<<<<<<<<< Should be a soft link to libclntsh.so.19.1
-rwxr-x---. 1 oracle oinstall 12 Jan 20 01:05 libclntsh.so.11.1 <<<<<<<<<<<<<<<<<<<<<<<<<<< Should be a soft link to libclntsh.so.19.1
-rwxr-x---. 1 oracle oinstall 12 Jan 20 01:05 libclntsh.so.12.1 <<<<<<<<<<<<<<<<<<<<<<<<<<< Should be a soft link to libclntsh.so.19.1
-rwxr-x---. 1 oracle oinstall 12 Jan 20 01:05 libclntsh.so.18.1 <<<<<<<<<<<<<<<<<<<<<<<<<<< Should be a soft link to libclntsh.so.19.1
-rwxr-x---. 1 oracle oinstall 79927312 Jan 20 01:05 libclntsh.so.19.1

Solution
Check the integrity of the file LINUX.X64_193000_db_home.zip, execute
sha256sum LINUX.X64_193000_db_home.zip
It should match with "ba8329c757133da313ed3b6d7f86c5ac42cd9970a28bf2e6233f3235233aa8d8" else downloaded file is corrupted.  Download the file again from OTN.
If it is matching, clean up the directory and UNZIP the file LINUX.X64_193000_db_home.zip (image file downloaded from Oracle website) again and re-execute runInstaller.





分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-26 19:58 , Processed in 0.098752 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表