8 Replies Latest reply: May 10, 2012 11:48 PM by 936479 Branched to a new discussion. RSS

    Libraries missing while installing Oracle 11.2g on Oracle Linux 6.2

    user8999602
      Hi,

      i just installed oracle linux 6.2 and started to isntall Oracle 11.2g server.
      so first i installed the yum install oracle-rdbms-server-11gR2-preinstall_
      but when i run the prerequisite check on OUI it shows some libraries missing. the issue is that the libraries are installed but the version doesn't match.

      ex: when i query rpm -q libaio it shows that i have installed libaio-0.3.107 but in OUI it shows that libaio-0.3.105 is missing.

      is this normal or should i go and install also the previous versions of the missing libraries?
        • 1. Re: Libraries missing while installing Oracle 11.2g on Oracle Linux 6.2
          sb92075
          user8999602 wrote:
          Hi,

          i just installed oracle linux 6.2 and started to isntall Oracle 11.2g server.
          so first i installed the yum install oracle-rdbms-server-11gR2-preinstall_
          but when i run the prerequisite check on OUI it shows some libraries missing. the issue is that the libraries are installed but the version doesn't match.

          ex: when i query rpm -q libaio it shows that i have installed libaio-0.3.107 but in OUI it shows that libaio-0.3.105 is missing.

          is this normal or should i go and install also the previous versions of the missing libraries?
          what I do is to simply create a softlink from desired name to the existing version; as below

          ln -s libaio-0.3.107 libaio-0.3.105

          Edited by: sb92075 on Apr 14, 2012 10:50 AM
          • 2. Re: Libraries missing while installing Oracle 11.2g on Oracle Linux 6.2
            Helios-GunesEROL
            Hi;

            What below query return?
            rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" | grep package_here

            Please see:
            https://blogs.oracle.com/wim/entry/setting_up_oracle_linux_6

            Regard
            Helios
            • 3. Re: Libraries missing while installing Oracle 11.2g on Oracle Linux 6.2
              936479
              I'm facing the same issue. This might sound so simple; but... where do I need to create this softlink? may I execute that command (ln -s libaio-0.3.107 libaio-0.3.105) in any place?
              • 4. Re: Libraries missing while installing Oracle 11.2g on Oracle Linux 6.2
                sb92075
                933476 wrote:
                I'm facing the same issue. This might sound so simple; but... where do I need to create this softlink? may I execute that command (ln -s libaio-0.3.107 libaio-0.3.105) in any place?
                cd into the directory where libaio-0.3.107 resides now

                ln -s {real_file} {alias_name}
                • 5. Re: Libraries missing while installing Oracle 11.2g on Oracle Linux 6.2
                  936479
                  Thanks for your quick response... but;that's the problem... I don't know what path/directory should I use... I know that the RPM is installed:

                  Line: -----
                  Command:
                  # rpm -qil libaio-0.3.107-10.el6.i686

                  Output:
                  Name : libaio Relocations: (not relocatable)
                  Version : 0.3.107 Vendor: Oracle America
                  Release : 10.el6 Build Date: Tue 06 Jul 2010 10:32:58 AM CDT
                  Install Date: Thu 10 May 2012 12:54:11 AM CDT Build Host: ca-build19.us.oracle.com
                  Group : System Environment/Libraries Source RPM: libaio-0.3.107-10.el6.src.rpm
                  Size : 32198 License: LGPLv2+
                  Signature : RSA/8, Mon 03 Jan 2011 02:07:00 PM CST, Key ID 72f97b74ec551f03
                  URL : http://git.kernel.org/?p=libs/libaio/libaio.git
                  Summary : Linux-native asynchronous I/O access library
                  Description :
                  The Linux-native asynchronous I/O facility ("async I/O", or "aio") has a
                  richer API and capability set than the simple POSIX async I/O facility.
                  This library, libaio, provides the Linux-native API for async I/O.
                  The POSIX async I/O facility requires this library in order to provide
                  kernel-accelerated async I/O capabilities, as do applications which
                  require the Linux-native async I/O API.
                  /lib/libaio.so.1
                  /lib/libaio.so.1.0.0
                  /lib/libaio.so.1.0.1
                  /usr/share/doc/libaio-0.3.107
                  /usr/share/doc/libaio-0.3.107/COPYING
                  /usr/share/doc/libaio-0.3.107/TODO

                  Line: -----

                  which directory should I use as {real_file}?

                  ln -s {real_file???} {alias_name}
                  • 6. Re: Libraries missing while installing Oracle 11.2g on Oracle Linux 6.2
                    sb92075
                    933476 wrote:
                    Thanks for your quick response... but;that's the problem... I don't know what path/directory should I use... I know that the RPM is installed:
                    find / -name libaio\* -print 2>/dev/null
                    • 7. Re: Libraries missing while installing Oracle 11.2g on Oracle Linux 6.2
                      936479
                      I was using a similar command (find / -name "libaio*" 2>/dev/null). However, This is what I get:

                      # find / -name libaio\* -print 2>/dev/null
                      /usr/share/doc/libaio-0.3.107
                      /usr/include/libaio.h
                      /usr/lib/libaio.so
                      /usr/lib/libaio.a
                      /usr/lib64/libaio.so
                      /usr/lib64/libaio.a
                      /iso/Packages/libaio-0.3.107-10.el6.i686.rpm           ( comment: mounted DVD of ORCL linux 6.2)
                      /iso/Packages/libaio-0.3.107-10.el6.x86_64.rpm      ( comment: mounted DVD of ORCL linux 6.2)
                      /iso/Packages/libaio-devel-0.3.107-10.el6.x86_64.rpm ( comment: mounted DVD of ORCL linux 6.2)
                      /iso/Packages/libaio-devel-0.3.107-10.el6.i686.rpm ( comment: mounted DVD of ORCL linux 6.2)
                      /lib/libaio.so.1.0.0
                      /lib/libaio.so.1.0.1
                      /lib/libaio.so.1
                      /lib64/libaio.so.1.0.0
                      /lib64/libaio.so.1.0.1
                      /lib64/libaio.so.1

                      I can't find any libaio-0.3.107 beside the one located on the Oracle Linux 6.2 DVD...

                      Thank you for you help and time. I really appreciate it
                      • 8. Re: Libraries missing while installing Oracle 11.2g on Oracle Linux 6.2
                        936479
                        ok guys, I think I have found the solution: Some packages can usually be ignored since de OUI does not recognise newer packages:

                        packages that can be ignored:
                        libaio-0.3.105 (i386)
                        compat-libstdc++-33-3.2.3 (i386)
                        libaio-devel-0.3.105 (i386)
                        libgcc-3.4.6 (i386)
                        libstdc++-3.4.6 (i386)
                        unixODBC-2.2.11 (i386)
                        unixODBC-devel-2.2.11 (i386)
                        pdksh-5.2.14

                        source:
                        https://www.oratoolkit.ch/knowledge/howto/installation/eeSrv-11g-R2-on-RHEL-6.0-x86_64.php