Monday, March 7, 2011

Installing libaio-devel-0.3.106, unixODBC-2.2.11 and unixODBC-devel-2.2.11 packages required for Oracle 11gR2 installation on RedHat Linux

While installing Oracle 11g R2 on RedHat Linux 5, run Installer complained that libaio-devel-0.3.106, unixODBC-2.2.11 and unixODBC-devel-2.2.11 packages were missing.



Oracle documentation says "If a package is not installed, then install it from the Linux distribution media or
download the required package version from the Linux vendor’s Web site."

Another way to downloading and installing these packages is using yum package installer in RedHat Linux.


[root@isvx7 ora_binaries]# yum install libaio-devel-0.3.106
Loaded plugins: rhnplugin, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libaio-devel.i386 0:0.3.106-5 set to be updated
---> Package libaio-devel.x86_64 0:0.3.106-5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package           Arch        Version          Repository                 Size
================================================================================
Installing:
 libaio-devel      i386        0.3.106-5        rhel-x86_64-server-5       12 k
 libaio-devel      x86_64      0.3.106-5        rhel-x86_64-server-5       11 k

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

Total download size: 23 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): libaio-devel-0.3.106-5.x86_64.rpm                 |  11 kB     00:00
(2/2): libaio-devel-0.3.106-5.i386.rpm                   |  12 kB     00:00
--------------------------------------------------------------------------------
Total                                           5.8 kB/s |  23 kB     00:03
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : libaio-devel                                             1/2
  Installing     : libaio-devel                                             2/2

Installed:
  libaio-devel.i386 0:0.3.106-5         libaio-devel.x86_64 0:0.3.106-5

Complete!
[root@isvx7 ora_binaries]#




[root@isvx7 ora_binaries]# yum install unixODBC-2.2.11
Loaded plugins: rhnplugin, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package unixODBC.i386 0:2.2.11-7.1 set to be updated
---> Package unixODBC.x86_64 0:2.2.11-7.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch         Version           Repository                  Size
================================================================================
Installing:
 unixODBC       i386         2.2.11-7.1        rhel-x86_64-server-5       832 k
 unixODBC       x86_64       2.2.11-7.1        rhel-x86_64-server-5       837 k

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

Total download size: 1.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): unixODBC-2.2.11-7.1.i386.rpm                      | 832 kB     00:01
(2/2): unixODBC-2.2.11-7.1.x86_64.rpm                    | 837 kB     00:01
--------------------------------------------------------------------------------
Total                                           442 kB/s | 1.6 MB     00:03
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : unixODBC                                                 1/2
  Installing     : unixODBC                                                 2/2

Installed:
  unixODBC.i386 0:2.2.11-7.1            unixODBC.x86_64 0:2.2.11-7.1

Complete!
[root@isvx7 ora_binaries]#




[root@isvx7 ora_binaries]# yum install unixODBC-devel-2.2.11
Loaded plugins: rhnplugin, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package unixODBC-devel.i386 0:2.2.11-7.1 set to be updated
---> Package unixODBC-devel.x86_64 0:2.2.11-7.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package            Arch       Version           Repository                Size
================================================================================
Installing:
 unixODBC-devel     i386       2.2.11-7.1        rhel-x86_64-server-5     737 k
 unixODBC-devel     x86_64     2.2.11-7.1        rhel-x86_64-server-5     793 k

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

Total download size: 1.5 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): unixODBC-devel-2.2.11-7.1.i386.rpm                | 737 kB     00:01
(2/2): unixODBC-devel-2.2.11-7.1.x86_64.rpm              | 793 kB     00:02
--------------------------------------------------------------------------------
Total                                           322 kB/s | 1.5 MB     00:04
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : unixODBC-devel                                           1/2
  Installing     : unixODBC-devel                                           2/2

Installed:
  unixODBC-devel.i386 0:2.2.11-7.1      unixODBC-devel.x86_64 0:2.2.11-7.1

Complete!
[root@isvx7 ora_binaries]#


After installing the missing packages, click the back button. Now, click next to continue. This time you will not see the error message, and the installation will continue.

8 comments:

Anonymous said...

Thank you. I had rhis problem and haven't found how to solve it anywhere the web.

Mayur said...

You are welcome. I'm glad it was helpful.

Anonymous said...

Thanks a lot. That helped

Anonymous said...

You are still helping people. thanks.

Mayur said...

Thanks for the encouraging words.

Anonymous said...

Awesome post! Exactly what I needed to get past this. Thank you!

Mayur said...

I'm glad it helped. Thanks for leaving a note.

Unknown said...



Awesome is right. YUM does the trick.

Thanks you.

I wonder why Oracle leaves this out of the "validated" yum download?