Db2

Db2

Connect with Db2, open source, and other data experts to gain value from your data, share insights, and solve problems.

 View Only
Expand all | Collapse all

db2prereqcheck does not find libnuma.so.1 and libaio.so.1 while they are present in the system.

  • 1.  db2prereqcheck does not find libnuma.so.1 and libaio.so.1 while they are present in the system.

    Posted Thu December 24, 2020 08:12 PM

    I am trying to install DB Connect in Docker container based on centos:7

    When I run ./db2_install I get below messages:

    Requirement not matched for DB2 database "Server" . Version: "11.5.0.0".

    Summary of prerequisites that are not met on the current system:

    DBT3609E The db2prereqcheck utility could not find the library file libnuma.so.1.

    DBT3520E The db2prereqcheck utility could not find the library file libaio.so.1.

    While I have 32 bit libraries installed with

    yum install -y numactl-libs-2.0.12-5.el7.i686 \

    libaio-0.3.109-13.el7.i686 \

    pam-1.1.8-23.el7.i686

    And I can see that libnuma.so.1 and libaio.so.1 are present in my stystem:

    sh-4.2# find / -name libnuma.so.1

    /usr/lib/libnuma.so.1

    sh-4.2# find / -name libaio.so.1

    /usr/lib/libaio.so.1

    sh-4.2# ls -l /usr/lib/libnuma*

    lrwxrwxrwx 1 root root 16 Dec 24 19:47 /usr/lib/libnuma.so.1 -> libnuma.so.1.0.0

    -rwxr-xr-x 1 root root 45464 Apr 1 2020 /usr/lib/libnuma.so.1.0.0

    sh-4.2# ls -l /usr/lib/libaio*

    lrwxrwxrwx 1 root root 20 Dec 24 19:47 /usr/lib/libaio.so.1 -> /lib/libaio.so.1.0.1

    -rwxr-xr-x 1 root root 5788 Nov 20 2015 /usr/lib/libaio.so.1.0.0

    -rwxr-xr-x 1 root root 5788 Nov 20 2015 /usr/lib/libaio.so.1.0.1

    When I run ./db2prereqcheck -c -v 11.5.0.0

    it gives me a little bit more information:

    Validating "libnuma.so version " ...

    DBT3552E The db2prereqcheck utility failed to open the libaio.so.1 file. Command output: "libnuma.so.1: cannot open shared object file: No such file or directory".

    DBT3609E The db2prereqcheck utility could not find the library file libnuma.so.1.

    ERROR : Requirement not matched.

    Validating "/lib/libpam.so*" ...

    Requirement matched.

    Requirement not matched for DB2 database "Client" . Version: "11.5.0.0".

    Summary of prerequisites that are not met on the current system:

    DBT3609E The db2prereqcheck utility could not find the library file libnuma.so.1.

    But still I can not understand what's the problem.

    Appreciate any help!






    #Db2
    #Support
    #SupportMigration


  • 2.  RE: db2prereqcheck does not find libnuma.so.1 and libaio.so.1 while they are present in the system.

    Posted Wed December 30, 2020 05:01 PM

    Finally I found the root cause of the problem. Just realized that I was looking into installation instructions for elder version on DB2 connect which required 32bit versions of libnuma.so and libpam.so.

    11.5 requires 64bit versions of this libraries. After I installed them the problem is resolved.






    #Db2
    #Support
    #SupportMigration