Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  errors with gnutls-cli

    Posted Sat September 23, 2017 01:45 PM

    Originally posted by: A12-Oxcart


    Receiving the following error on a newly installed AIX 6.1 system.  6100-09-09-1717   I followed the procedure to install the latest rpm.rte and yum_bundle.tar files and then installed gnutls-utils

     

    # gnutls-cli

    exec(): 0509-036 Cannot load program gnutls-cli because of the following errors:

    0509-150 Dependent module /opt/freeware/lib/libintl.a(libintl.so.8) could not be loaded.

    0509-152 Member libintl.so.8 is not found in archive  

     

    yum install gnutls-utils      
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package gnutls-utils.ppc 0:3.5.10-1 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    ====================================================================================
     Package               Arch         Version              Repository            Size
    ====================================================================================
    Installing:
     gnutls-utils          ppc          3.5.10-1             AIX_Toolbox          2.2 M

    Transaction Summary
    ====================================================================================
    Install       1 Package

    Total download size: 2.2 M
    Installed size: 7.6 M
    Is this ok [y/N]: y
    Downloading Packages:
    gnutls-utils-3.5.10-1.aix6.1.ppc.rpm                         | 2.2 MB  00:00:00     
    Running Transaction Check
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing : gnutls-utils-3.5.10-1.ppc                                        1/1 

    Installed:
      gnutls-utils.ppc 0:3.5.10-1                                                       

    Complete!


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: errors with gnutls-cli

    Posted Mon September 25, 2017 03:39 AM

    Originally posted by: AyappanP


    Seems to be problem with gettext library. Re-install gettext package through yum to fix it. 

    yum reinstall gettext


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 3.  Re: errors with gnutls-cli

    Posted Mon September 25, 2017 03:46 AM

    Originally posted by: A12-Oxcart


    Still having an issue after the reinstall.

     

    # yum reinstall gettext
    Setting up Reinstall Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package gettext.ppc 0:0.19.7-1 will be reinstalled
    --> Finished Dependency Resolution

    Dependencies Resolved

    =========================================================================================================================================================
     Package                             Arch                            Version                               Repository                               Size
    =========================================================================================================================================================
    Reinstalling:
     gettext                             ppc                             0.19.7-1                              AIX_Toolbox                             3.8 M

    Transaction Summary
    =========================================================================================================================================================
    Reinstall     1 Package

    Total size: 3.8 M
    Installed size: 12 M
    Is this ok [y/N]: y
    Downloading Packages:
    Running Transaction Check
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing : gettext-0.19.7-1.ppc                                                                                                                  1/1 
    /
    add libintl.so.1 (32bits) shared member to /opt/freeware/lib/libintl.a
    add libintl.so.1 (64bits) shared member to  /opt/freeware/lib/libintl.a
    /

    Installed:
      gettext.ppc 0:0.19.7-1                                                                                                                                 

    Complete!
    # gnutls-cli           
    exec(): 0509-036 Cannot load program gnutls-cli because of the following errors:
            0509-022 Cannot load module /opt/freeware/lib64/libtasn1.a(libtasn1.so.6).
            0509-150   Dependent module libgcc_s.a(shr.o) could not be loaded.
            0509-022 Cannot load module libgcc_s.a(shr.o).
            0509-026 System error: A file or directory in the path name does not exist.
            0509-022 Cannot load module gnutls-cli_64.
            0509-150   Dependent module /opt/freeware/lib64/libtasn1.a(libtasn1.so.6) could not be loaded.
            0509-022 Cannot load module .


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 4.  Re: errors with gnutls-cli

    Posted Thu April 11, 2019 04:28 AM
      |   view attached

    Originally posted by: CHARIN_KUMJUDPAI


    Hi Expert,

    I have a Bank customer, They getting a problem while execute the  "IBMBIM" IBM installation manager for Websphere.

    My work around by added LIBPATH for "wasadm" user in .profile.

      export LIBPATH=/opt/freeware/lib:/opt/freeware/lib64:$LIBPATH

    Then re-login and ran command.

    [wasadm@cf1ts804 /WebSphere/IBM/InstallationManager/eclipse]#./IBMIM
    Unhandled exception
    Type=Segmentation error vmState=0x00040000
    J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000033
    Handler1=F14BE4D4 Handler2=F14B77D4

     

    My research in Google found the similar errors message.

      - Required gtk libraries for IBM Installation Manager on AIX
          http://www-01.ibm.com/support/docview.wss?uid=swg21631478

       - IBMIM Installation Manager Segmentation Fault on AIX 7.1
       https://developer.ibm.com/answers/questions/292850/ibmim-installation-manager-segmentation-fault-on-a/

     

    Then tried install GTK2  on AIX via "root" user (without YUM command and package installed).

    by following steps (Reference in URL: https://www.technoleros.com/required-gtk-libraries-for-ibm-installation-manager-1-7-2-on-aix/)

    in "Resolving the problem" section.

    To install the RPM versions specified above take the following steps:

    1. Download the latest version of the gtk2_bundle_<version>.tar package containing all the RPMs and the install script to a new directory.
    2. Decompress the tar file. You can use the command
      tar -xvf gtk2_bundle_<version>.tar to decompress the file.
    3. Open the decompressed directory gtk2_bundle_<version> and run the install.sh script.
      The script will check if the required RPMs are installed at the compatible level. If they are not, the script will prompt to install the compatible versions.
    4. Verify the environment variable LIBPATH contains a path to the installed libraries.
      For example LIBPATH=/opt/freeware/lib/

    Here is the error while  performed step number 3 above.

    ./install.sh
    This installer assumes that rpm fileset is working in the system. If not, please install it from AIX toolbox.
    Package which will be DELETED from the system is:
    libX11
    Packages which will be INSTALLED/UPDATED are given below with version number:
    atk-2.20.0-3 glib2-2.56.1-2 libffi-3.2.1-2 lzo-2.10-1 bash-4.4-3 gmp-6.1.2-1 libgcc-6.3.0-1  mpfr-3.1.2-3 cairo-1.14.6-2 gtk2-2.24.30-2 libjpeg-6b-7 ncurses-6.1-1
    expat-2.2.4-1 harfbuzz-1.2.7-2 libmpc-1.0.3-1 pango-1.40.1-2 fontconfig-2.11.95-3 info-6.3-1 libstdcplusplus-6.3.0-1 shared-mime-info-1.6-2 freetype2-2.8-1 libpng-1.6.27-2 pixman-0.34.0-1
    gdk-pixbuf-2.35.1-2 libXft-2.3.2-4 libtiff-3.8.2-1 xz-libs-5.2.3-1 gettext-0.19.8.1-1 libXrender-0.9.8-2 libxml2-2.9.5 zlib-1.2.11
    If any of the above packages are already installed, it will be removed and reinstall from the bundle.
    Do you want the installer to continue ? (press 'n/N' to exit)

    Removing Package libX11
    Preparing...  

            ## Binary "bash" is avaible in 32bit and 64bit ##

            The default used is 64bit

            If 32bit is needed, please change symbolic link
            for "bash" in /bin directory
            To do that type:
                    # rm -f /bin/bash
                    # ln -sf /opt/freeware/bin/bash_32 /bin/bash

    << Deletion some line  till throws errors>>>

    ================ncurses DONE==================
    Lower Version for package: gettext is installed: 0.10.40.6, may be uncompatible. Upgrading....
    exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors:
            0509-150   Dependent module libintl.a(libintl.so.8) could not be loaded.
            0509-022 Cannot load module libintl.a(libintl.so.8).
            0509-026 System error: A file or directory in the path name does not exist.
    rpm_share: 0645-007 ATTENTION: get_rpm_inst_root_list() returned an unexpected result.
    rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.

     

    NOTE: Please see the full putty session error log in file attached.

    Please advice for:

    1. Is it the installation  was success full or not?

    2. How  to fix these error message.

    exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors:
            0509-150   Dependent module libintl.a(libintl.so.8) could not be loaded.
            0509-022 Cannot load module libintl.a(libintl.so.8).

     

    Thanks.

    Charin Kumjudpai.

     

     

     

     


    #AIXOpenSource
    #AIX-Open-Source-Software

    Attachment(s)

    txt
    Install_GTK2_log.txt   101 KB 1 version


  • 5.  Re: errors with gnutls-cli

    Posted Thu April 11, 2019 05:56 AM

    Originally posted by: Nitish Mishra


    Hi Charin !

    Your rpm is crashed now, so to fix it, please download "libintl.a" archive from ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/ and copy it in /opt/freeware/lib directory. This should fix your rpm.

    I think that you have downloaded the older version of GTK tar ball from : ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/

    The issue which you have mentioned is known and is fixed in the newer version of tar ball, so please download latest GTK tar ball: ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/gtk2_bundle_for_AIX_ALL.tar

    I have gone through the log you have attached and it looks very erroneous installation. So, its necessary that you install GTK tar ball from above location again.

     

    Thanks and Regards,

    Nitish

     

     


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 6.  Re: errors with gnutls-cli

    Posted Thu April 11, 2019 06:21 AM

    Originally posted by: CHARIN_KUMJUDPAI


    Hi Nitish,

    Thank you for quickly feedback.

    So, Let me summarize my step do in below and I will update result once customer do the following step.

    1. Downlaod the "File:libintl.a" from URL: ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/
        - FPT file to temp path "/tmp/FixLibinit/"
        - Then on customer AIX server.
            #cd /opt/freeware/lib
        - Keep the original permission info before copy&replace this file.
            #ls -lrt libintl.a
            #cp -p libintl.a libintl.a.Org.DDMMYY
            #cp -p /tmp/FixLibinit/libintl.a .
        - Verify and change permission
            #ls -lrt libintl.a
        - Change to properly permission as above of permission info.
        
    2. The issue which you have mentioned is known and is fixed in the newer version of tar ball,
       so please download latest GTK tar ball: ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/gtk2_bundle_for_AIX_ALL.tar        
            File:gtk2_bundle_for_AIX_ALL.tar 155310 KB     29-Jan-2019     12:02:00 PM
            
    3. Transfer file/Decompress and Install it again via  "./install.sh" command.

     

    I will update result later.

     

    Thanks,

    CK.

     


    #AIXOpenSource
    #AIX-Open-Source-Software