Installing Oracle 11g on Enterprise Linux 5 (unbreakable Linux)



Better yum!

You have found this article on Google looking for a solution for your missing libraries; the article will certainly help, but I recommend the much better way of using yum!. yum allows to easily determine which rpm(s) have to be installed in order to make a library available, resolving all the dependecies.

Having said about yum, let's treat the specific case of missing libraries for 11G. I installed Linux on VMware workstation using the Oracle distribution packages that can be downloaded from http://edelivery.oracle.com

  
Checking operating system package requirements ...
Checking for make-3.81; found make-1:3.81-3.el5-i386.	Passed
Checking for binutils-2.17.50.0.6; found binutils-2.17.50.0.6-9.el5-i386.	Passed
Checking for gcc-4.1.1; found gcc-4.1.2-44.el5-i386.	Passed
Checking for libaio-0.3.106; found libaio-0.3.106-3.2-i386.	Passed
Checking for libaio-devel-0.3.106; Not found.	Failed <<<<       

Checking for libstdc++-4.1.1; found libstdc++-4.1.2-44.el5-i386.	Passed
Checking for elfutils-libelf-devel-0.125; Not found.	Failed <<<<
Checking for sysstat-7.0.0; found sysstat-7.0.2-3.el5-i386.	Passed
Checking for compat-libstdc++-33-3.2.3; found compat-libstdc++-33-3.2.3-61-i386.	Passed
Checking for libgcc-4.1.1; found libgcc-4.1.2-44.el5-i386.	Passed
Checking for libstdc++-devel-4.1.1; found libstdc++-devel-4.1.2-44.el5-i386.	Passed
Checking for unixODBC-2.2.11; Not found.	Failed <<<<
Checking for unixODBC-devel-2.2.11; Not found.	Failed <<<<
Check complete. The overall result of this check is: Failed <<<<
Problem: Some packages required for the Oracle Database 11g to function properly are missing (see above).
Recommendation: Install the required packages before continuing with the installation.
If you are using the Enterprise Linux delivered by Oracle, the following table shows which CD is to be used for the missing libraries:
libaio-devel-0.3.106.rpm CD3
unixODBC-devel-2.2.11.rpm CD3
elfutils-libelf-0.137-3.el5.i386.rpm CD1
elfutils-libelf-devel-0.137-3.el5.i386.rpm
elfutils-libelf-devel-0.125
CD2
unixODBC-2.2.11-7.1.i386.rpm CD2
I listed the contents of the CDs on five files on /var/tmp

[root@DG1 Server]# grep ODBC /var/tmp/CD*
/var/tmp/CD2:unixODBC-2.2.11-7.1.i386.rpm
/var/tmp/CD3:qt-ODBC-3.3.6-23.el5.i386.rpm
/var/tmp/CD3:unixODBC-devel-2.2.11-7.1.i386.rpm
/var/tmp/CD3:unixODBC-kde-2.2.11-7.1.i386.rpm
/var/tmp/CD4:freeradius-unixODBC-1.1.3-1.4.el5.i386.rpm


[root@DG1 Server]# rpm -iv unixODBC-2.2.11-7.1.i386.rpm
Preparing packages for installation...
unixODBC-2.2.11-7.1


[root@DG1 Server]# rpm -ivf unixODBC-devel-2.2.11-7.1.i386.rpm
Preparing packages for installation...
unixODBC-devel-2.2.11-7.1

Watch out with the elfutils* libraries! The one has dependencies on the other, so they have to be installed together with rpm
[root@DG1 Server]# ls  elfutils*
elfutils-0.137-3.el5.i386.rpm               elfutils-libelf-devel-static-0.137-3.el5.i386.rpm
elfutils-libelf-devel-0.137-3.el5.i386.rpm  elfutils-libs-0.137-3.el5.i386.rpm
[root@DG1 Server]# rpm -ivf elfutils-libelf-devel-0.137-3.el5.i386.rpm
error: Failed dependencies:
        elfutils-libelf-devel-static-i386 = 0.137-3.el5 is needed by elfutils-libelf-devel-0.137-3.el5.i386
[root@DG1 Server]# rpm -ivf elfutils-libelf-devel-0.137-3.el5.i386.rpm elfutils-libelf-devel-static-0.137-3.el5.i386.rpm
Preparing packages for installation...
elfutils-libelf-devel-static-0.137-3.el5
elfutils-libelf-devel-0.137-3.el5
In /etc/sysctl.conf following parameters have to be set to avoid the messsage"Failed" in the prerequisites
Checking for rmem_default=4194304; rmem_default=1048576.	Failed <<<<
Checking for rmem_max=4194304; rmem_max=1048576.	Failed <<<<

Rate this note ...
Useless Poor Average Good Very helpful

Home