Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2008
    Location
    Toronto, Canada
    Posts
    2,367

    Unanswered: v10.1 64-bit - missing some Linux libraries

    Installed db2 v10.1 FP3 64-bit on RHEL 6 64-bit. Got this warning during db2_install:

    Summary of prerequisites that are not met on the current system:
    DBT3514W The db2prereqcheck utility failed to find the following 32-bit library file: "/lib/libpam.so*".
    DBT3514W The db2prereqcheck utility failed to find the following 32-bit library file: "libstdc++.so.6"
    .


    whichdist reports:

    /etc/lsb-release:
    LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarchrinting-4.0-amd64rinting-4.0-noarch
    /etc/redhat-release:
    Red Hat Enterprise Linux Server release 6.5 (Santiago)
    /etc/system-release:
    Red Hat Enterprise Linux Server release 6.5 (Santiago)
    /etc/system-release-cpe:
    cpe:/o:redhat:enterprise_linux:6server:ga:server

    /etc/issue:
    Red Hat Enterprise Linux Server release 6.5 (Santiago)
    Kernel \r on an \m

    -----------------------------------------------------Kernel Information
    Node name: xxxxxxx
    Kernel Level: 2.6.32-431.3.1.el6.x86_64
    Kernel Build Date: #1 SMP Fri Dec 13 06:58:20 EST 2013
    Machine Type: x86_64

    ----------------------------------------------------libc.so Information
    ls: cannot access /lib/libc.so*: No such file or directory
    GLIBC *NOT* FOUND


    --------------------------------------------------libstdc++ Information
    ls: cannot access /usr/lib/libstdc++*: No such file or directory
    DB2 v9.x (x86_64): 32-bit libstdc++.so.5 does not exist on this system.
    It is needed for 32-bit runtime client and stored procedure support.
    You should install the standard C++ library for gcc 3.3.
    DB2 v9.x (x86_64): 64-bit libstdc++.so.5 does not exist on this system.
    You should install the standard C++ library for gcc 3.3.



    I checked DB2 InfoCenter and https://www.ibm.com/developerworks/c...-%20DB2%2010.1 and it looks like some of the libraries mentioned above are only needed for 32-bit apps.


    Can you please confirm if any of the libraries in red are needed for DB2 v10.1 64-bit server if the app is 64-bit?

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    I believe that some of them are needed, especially if you want TSM to be installed successfully.

    Here is list of install commands that might work to satisfy all the prereqs, which I ran on a Fedora system (Fedora is the freeware version of Red Hat):
    • yum install compat-libstdc++-33.i686
    • yum install compat-libstdc++-33.x86_64
    • yum install libstdc++.i686
    • yum install libstdc++.x86_64
    • yum install libstdc++-static.i686
    • yum install libstdc++-static.x86_64
    • yum install compat-libstdc++-296.i686
    • yum install libstdc++-devel.i686
    • yum install pam-devel.i686
    • yum install pam-devel.x86_64


    I doubt you need all of these, but I don't know which ones you don't need and I don't think it hurts to have any extra ones on your system.
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •