暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

19c Installation Fails with error "libclntsh.so: file format not recognized; treating as linker script" (文档 ID 2631283.1)

9

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.

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
2人已赞赏
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论