sqlplus: error while loading shared libraries: libclntshcore.so.12.1: cannot open shared object file: No such file or directory







iv. Fix-up errors , missing OS packages 



[oracle@testlaba client]$ yum install compat-libcap1
Loaded plugins: product-id, rhnplugin, security, subscription-manager
*Note* Red Hat Network repositories are not listed below. You must run this command as root to access RHN repositories.
You need to be root to perform this command.
[oracle@testlaba client]$ sudo yum install compat-libcap1
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
rhel-x86_64-server-6                                         | 1.8 kB     00:00
rhel-x86_64-server-6/primary                                 |  28 MB     00:06
rhel-x86_64-server-6                                         19612/19612
Resolving Dependencies
--> Running transaction check
---> Package compat-libcap1.x86_64 0:1.10-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================
 Package       Arch      Version           Repository                     Size
==================================================================================
Installing:
 compat-libcap1         x86_64    1.10-1    rhel-x86_64-server-6           17 k

Transaction Summary
==================================================================================
Install       1 Package(s)

Total download size: 17 k
Installed size: 29 k
Is this ok [y/N]: y
Downloading Packages:
compat-libcap1-1.10-1.x86_64.rpm                           |  17 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : compat-libcap1-1.10-1.x86_64                               1/1
  Verifying  : compat-libcap1-1.10-1.x86_64                               1/1

Installed:
  compat-libcap1.x86_64 0:1.10-1

Complete!

[oracle@testlaba client]$ sudo yum install libaio-devel
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libaio-devel.x86_64 0:0.3.107-10.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================
 Package          Arch    Version       Repository                        Size
=================================================================================
Installing:
 libaio-devel   x86_64  0.3.107-10.el6  rhel-x86_64-server-6              13 k

Transaction Summary
=================================================================================
Install       1 Package(s)

Total download size: 13 k
Installed size: 23 k
Is this ok [y/N]: y
Downloading Packages:
libaio-devel-0.3.107-10.el6.x86_64.rpm                     |  13 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libaio-devel-0.3.107-10.el6.x86_64                              1/1
  Verifying  : libaio-devel-0.3.107-10.el6.x86_64                              1/1

Installed:
  libaio-devel.x86_64 0:0.3.107-10.el6

Complete!
[oracle@testlaba client]$ sudo yum install compat-libstdc++-33
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package compat-libstdc++-33.x86_64 0:3.2.3-69.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch         Version       Repository                Size
================================================================================
Installing:
 compat-libstdc++-33    x86_64  3.2.3-69.el6    rhel-x86_64-server-6       183 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 183 k
Installed size: 806 k
Is this ok [y/N]: y
Downloading Packages:
compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm           | 183 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : compat-libstdc++-33-3.2.3-69.el6.x86_64                  1/1
  Verifying  : compat-libstdc++-33-3.2.3-69.el6.x86_64                  1/1

Installed:
  compat-libstdc++-33.x86_64 0:3.2.3-69.el6

Complete!
[oracle@testlaba client]$ sudo yum install libstdc++-devel
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libstdc++-devel.x86_64 0:4.4.7-18.el6 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.4.7-18.el6 for package: libstdc++-devel-4.4.7-18.el6.x86_64
--> Running transaction check
---> Package libstdc++.x86_64 0:4.4.7-16.el6 will be updated
---> Package libstdc++.x86_64 0:4.4.7-18.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch      Version      Repository                     Size
=================================================================================
Installing:
 libstdc++-devel    x86_64    4.4.7-18.el6    rhel-x86_64-server-6        1.6 M
Updating for dependencies:
 libstdc++     x86_64    4.4.7-18.el6     rhel-x86_64-server-6           295 k

Transaction Summary
==================================================================================
Install       1 Package(s)
Upgrade       1 Package(s)

Total download size: 1.9 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): libstdc++-4.4.7-18.el6.x86_64.rpm               | 295 kB     00:02
(2/2): libstdc++-devel-4.4.7-18.el6.x86_64.rpm         | 1.6 MB     00:04
-----------------------------------------------------------------------------------
Total                                        206 kB/s | 1.9 MB     00:09
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : libstdc++-4.4.7-18.el6.x86_64                                1/3
  Installing : libstdc++-devel-4.4.7-18.el6.x86_64                          2/3
  Cleanup    : libstdc++-4.4.7-16.el6.x86_64                                3/3
  Verifying  : libstdc++-devel-4.4.7-18.el6.x86_64                          1/3
  Verifying  : libstdc++-4.4.7-18.el6.x86_64                                2/3
  Verifying  : libstdc++-4.4.7-16.el6.x86_64                                3/3

Installed:
  libstdc++-devel.x86_64 0:4.4.7-18.el6

Dependency Updated:
  libstdc++.x86_64 0:4.4.7-18.el6

Complete!
[oracle@testlaba client]$ sudo yum install gcc
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.4.7-18.el6 will be installed
--> Processing Dependency: libgomp = 4.4.7-18.el6 for package: gcc-4.4.7-18.el6.x86_64
--> Processing Dependency: cpp = 4.4.7-18.el6 for package: gcc-4.4.7-18.el6.x86_64
--> Processing Dependency: libgcc >= 4.4.7-18.el6 for package: gcc-4.4.7-18.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-18.el6.x86_64
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.7-18.el6 will be installed
--> Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.7-18.el6.x86_64
---> Package libgcc.x86_64 0:4.4.7-16.el6 will be updated
---> Package libgcc.x86_64 0:4.4.7-18.el6 will be an update
---> Package libgomp.x86_64 0:4.4.7-16.el6 will be updated
---> Package libgomp.x86_64 0:4.4.7-18.el6 will be an update
--> Running transaction check
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================
 Package         Arch     Version         Repository                        Size
=================================================================================
Installing:
 gcc             x86_64      4.4.7-18.el6       rhel-x86_64-server-6         10 M
Installing for dependencies:
 cloog-ppl       x86_64      0.15.7-1.2.el6      rhel-x86_64-server-6       93 k
 cpp             x86_64     4.4.7-18.el6        rhel-x86_64-server-6       3.7 M
 mpfr            x86_64      2.4.1-6.el6       rhel-x86_64-server-6        156 k
 ppl             x86_64      0.10.2-11.el6    rhel-x86_64-server-6         1.3 M
Updating for dependencies:
 libgcc          x86_64      4.4.7-18.el6      rhel-x86_64-server-6         103 k
 libgomp         x86_64      4.4.7-18.el6      rhel-x86_64-server-6         134 k

Transaction Summary
=================================================================================
Install       5 Package(s)
Upgrade       2 Package(s)

Total download size: 16 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm                 |  93 kB     00:00
(2/7): cpp-4.4.7-18.el6.x86_64.rpm                          | 3.7 MB     00:05
(3/7): gcc-4.4.7-18.el6.x86_64.rpm                     |  10 MB     00:04
(4/7): libgcc-4.4.7-18.el6.x86_64.rpm                        | 103 kB     00:00
(5/7): libgomp-4.4.7-18.el6.x86_64.rpm                         | 134 kB     00:00
(6/7): mpfr-2.4.1-6.el6.x86_64.rpm                            | 156 kB     00:00
(7/7): ppl-0.10.2-11.el6.x86_64.rpm                          | 1.3 MB     00:02
----------------------------------------------------------------------------------
Total                                                                                                                                   729 kB/s |  16 MB     00:21
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : libgcc-4.4.7-18.el6.x86_64                                       1/9
  Installing : ppl-0.10.2-11.el6.x86_64                                         2/9
  Installing : cloog-ppl-0.15.7-1.2.el6.x86_64                                  3/9
  Installing : mpfr-2.4.1-6.el6.x86_64                                          4/9
  Installing : cpp-4.4.7-18.el6.x86_64                                          5/9
  Updating   : libgomp-4.4.7-18.el6.x86_64                                      6/9
  Installing : gcc-4.4.7-18.el6.x86_64                                          7/9
  Cleanup    : libgcc-4.4.7-16.el6.x86_64                                       8/9
  Cleanup    : libgomp-4.4.7-16.el6.x86_64                                      9/9
  Verifying  : cpp-4.4.7-18.el6.x86_64                                          1/9
  Verifying  : libgomp-4.4.7-18.el6.x86_64                                      2/9
  Verifying  : mpfr-2.4.1-6.el6.x86_64                                          3/9
  Verifying  : cloog-ppl-0.15.7-1.2.el6.x86_64                                  4/9
  Verifying  : libgcc-4.4.7-18.el6.x86_64                                       5/9
  Verifying  : gcc-4.4.7-18.el6.x86_64                                          6/9
  Verifying  : ppl-0.10.2-11.el6.x86_64                                         7/9
  Verifying  : libgomp-4.4.7-16.el6.x86_64                                      8/9
  Verifying  : libgcc-4.4.7-16.el6.x86_64                                       9/9

Installed:
  gcc.x86_64 0:4.4.7-18.el6

Dependency Installed:
  cloog-ppl.x86_64 0:0.15.7-1.2.el6              cpp.x86_64 0:4.4.7-18.el6              mpfr.x86_64 0:2.4.1-6.el6              ppl.x86_64 0:0.10.2-11.el6

Dependency Updated:
  libgcc.x86_64 0:4.4.7-18.el6                                                       libgomp.x86_64 0:4.4.7-18.el6

Complete!
[oracle@testlaba client]$ sudo yum install ksh
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ksh.x86_64 0:20120801-35.el6_9 will be installed
--> Finished Dependency Resolution





Dependencies Resolved

==================================================================================
 Package       Arch          Version             Repository                 Size
===================================================================================
Installing:
 ksh         x86_64     20120801-35.el6_9    rhel-x86_64-server-6           761 k
Transaction Summary
==================================================================================
Install       1 Package(s)

Total download size: 761 k
Installed size: 1.7 M
Is this ok [y/N]: y
Downloading Packages:
ksh-20120801-35.el6_9.x86_64.rpm                                                                                                                 | 761 kB     00:02
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : ksh-20120801-35.el6_9.x86_64                                    1/1
  Verifying  : ksh-20120801-35.el6_9.x86_64                                    1/1

Installed:
  ksh.x86_64 0:20120801-35.el6_9

Complete!
[oracle@testlaba client]$ sudo yum install gcc-c++
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc-c++.x86_64 0:4.4.7-18.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================
 Package          Arch         Version            Repository               Size
==================================================================================
Installing:
 gcc-c++          x86_64     4.4.7-18.el6    rhel-x86_64-server-6      4.7 M

Transaction Summary
======================================================================================
Install       1 Package(s)

Total download size: 4.7 M
Installed size: 11 M
Is this ok [y/N]: y
Downloading Packages:
gcc-c++-4.4.7-18.el6.x86_64.rpm                             | 4.7 MB     00:03
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : gcc-c++-4.4.7-18.el6.x86_64                                     1/1
  Verifying  : gcc-c++-4.4.7-18.el6.x86_64                                     1/1

Installed:
  gcc-c++.x86_64 0:4.4.7-18.el6

Complete!
[oracle@testlaba client]$ sudo yum install libaio-devel
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Package libaio-devel-0.3.107-10.el6.x86_64 already installed and latest version

Nothing to do




v. Install client post fix-up 

[oracle@testlaba client]$ ./runInstaller  -silent -responsefile  /rdbms/client_dump/client/response/client_install.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 415 MB.   Actual 4168 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 7990 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-07-19_01-58-19PM. Please wait ...[oracle@testlaba client]$ You can find the log of this install session at:

 /rdbms/app/oraInventory/logs/installActions2017-07-19_01-58-19PM.log


[oracle@testlaba client]$ The installation of Oracle Client 12c was successful.

Please check '/rdbms/app/oraInventory/logs/silentInstall2017-07-19_01-58-19PM.log' for more details.

Successfully Setup Software.


Check if any missing errors

[oracle@testlaba client]$ cat /rdbms/app/oraInventory/logs/installActions2017-07-19_01-58-19PM.log | grep -i missing
INFO: OUI-10066:Not all the dependencies for the component Oracle Client 12c 12.1.0.2.0  could be found. Missing component oracle.doc 12.1.0.2.0.
INFO: OUI-10066:Not all the dependencies for the component Required Support Files 12.1.0.2.0  could be found. Missing component oracle.rsf.hybrid 12.1.0.2.0.
INFO: OUI-10066:Not all the dependencies for the component Oracle Universal Installer 12.1.0.2.0  could be found. Missing component oracle.sysman.ccr 10.3.1.0.0.
[oracle@testlaba client]$ cat /rdbms/app/oraInventory/logs/installActions2017-07-19_01-58-19PM.log | grep -i missing
INFO: OUI-10066:Not all the dependencies for the component Oracle Client 12c 12.1.0.2.0  could be found. Missing component oracle.doc 12.1.0.2.0.
INFO: OUI-10066:Not all the dependencies for the component Required Support Files 12.1.0.2.0  could be found. Missing component oracle.rsf.hybrid 12.1.0.2.0.

INFO: OUI-10066:Not all the dependencies for the component Oracle Universal Installer 12.1.0.2.0  could be found. Missing component oracle.sysman.ccr 10.3.1.0.0.

[oracle@testlaba client]$ sqlplus -v

SQL*Plus: Release 12.1.0.2.0 Production


Success ! ! !

1 comment: