Db2

Db2

Where DBAs and data experts come together to stop operating and start innovating. Connect, share, and shape the AI era with us.


#Data


#Data
#Databases
#Operatingsystems
#Db2
#Databasesolutions
 View Only
  • 1.  libibmc++

    Posted 03/31/21 11:49 AM

    Dear DB2 LUW early access team,

    I try to install db2v11beta (xlc compilation) with the provided scripts db2_install and db2setup (my download link: DB2 on Linux for System z - ftp://diwebtools.canlab.ibm.com/devinst/db2_main/linux390x64/s1512022100/db2vnext_aese_zlinux64.tar.gz) on my new and barely touched RedHat7.2.

    Unfortunately the following missing library error occurs (missing library: libibmc++.so.1)

    ----------- Error Message -----------

    [root@rh-alex install]# pwd
    /root/installation/ibm-db2-11-beta/server/db2/linux390/install
    [root@rh-alex install]# ./db2_install
    /root/installation/ibm-db2-11-beta/server/db2/linux3holds90/install/../bin/db2usrinf: error while loading shared libraries: libibmc++.so.1: cannot open shared object file: No such file or directory
    ./db2_install: line 540: [: -ne: unary operator expected
    /root/installation/ibm-db2-11-beta/server/db2/linux390/install/../bin/db2usrinf: error while loading shared libraries: libibmc++.so.1: cannot open shared object file: No such file or directory
    /root/installation/ibm-db2-11-beta/server/db2/linux390/install/../bin/db2usrinf: error while loading shared libraries: libibmc++.so.1: cannot open shared object file: No such file or directory
    /root/installation/ibm-db2-11-beta/server/db2/linux390/install/../bin/db2langdir: error while loading shared libraries: libibmc++.so.1: cannot open shared object file: No such file or directory
    /root/installation/ibm-db2-11-beta/server/db2/linux390/install/../bin/db2langdir: error while loading shared libraries: libibmc++.so.1: cannot open shared object file: No such file or directory
    DBI1055E The message file cannot be found.

    Explanation:  The message file required by this
    script is missing from the system; it may have been
    deleted or the database products may have been loaded
    incorrectly.

    User Response:  Verify that the product option containing
    the message file is installed correctly.  If there are
    verification errors; reinstall the product option.

    ----------- End of Error Message-----------

    As far as I explored libibmc++.so.1 is not  provided by the standard package repositories on my redhat 7.2 (zlinux)

    My help-your-self attempts did not work. Following attempts are performed:

    • Install the downloadable XLC runtime (then retry to install db2)
    • Install the downloadable XLC addons (then retry to install db2)
    • Install the 60 days trial Version of XLC (then retry to install db2)

    A dusty (2006) forum entry (link: http://www-01.ibm.com/support/docview.wss?uid=swg21249819) states to install the advanced version of XLC but I don't trust that old guy ;-) The hint may still be helpful: Which IBM product and which version of that product keeps my libibmc++ away from me?

     

    What should I do to get the setup running or better, what is the proper way to setup my db2 version?


    #Db2
    #Db2EarlyAccessProgram(EAP)Forum


  • 2.  RE: libibmc++
    Best Answer

    Posted 03/31/21 11:50 AM
    Edited by System Admin 01/20/23 04:15 PM

    The Problem is a missing link into the lib64 folder. Thank you DB2 Installation team Roopa, Gopi and the people in the background.

    The solution is a symbolic link:   ln -s /opt/ibm/lib64/libibmc++.so.1 /lib64/libibmc++.so.1 

    The library is in one of the xlc packages you get from:  http://public.dhe.ibm.com/software/server/zsystems/Linux/xl-compiler/eval/s390x/