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.  gettext-0.19.8.1-1.aix6.1.ppc.rpm issue?

    Posted Tue October 02, 2018 03:43 PM

    Originally posted by: Teej42


    There was a weird issue with installation of gettext that can be reproduced.  I did the following:
     

    $ sudo rpm -Uvh gettext-0.19.8.1-1.aix6.1.ppc.rpm
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:gettext-0.19.8.1-1               ################################# [ 50%]
    Cleaning up / removing...
       2:gettext-0.17-8                   ################################# [100%]
    Could not load program /usr/opt/freeware/bin/rpm:
            Dependent module /opt/freeware/lib/libintl.a(libintl.so.8) could not be loaded.
            Member libintl.so.8 is not found in archive
    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.
    $
    

    After this point, RPM will not behave, throwing the same error for the libintl.a file.  I also see the following:

    [/opt/freeware/lib] $ ls -al *intl*
    -rwxr-xr-x    1 root     system       374612 Dec 20 2010  libintl.a
    -rwxr-xr-x    1 root     system       374612 Dec 20 2010  libintl.a.savgettext
    

    Only way to resolve is to find a separate server, and do the following:

    $ rpm2cpio gettext-0.19.8.1-1.aix6.1.ppc.rpm | cpio -dimuv
    

    And dig out the libintl.a for 32 bit, back up the existing libintl.a, and park the file from gettext RPM to this directory (/opt/freeware/lib), and RPM is back to working order.

    Is this a known behavior, and can it be addressed by updating the RPM accordingly?  Thanks.


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: gettext-0.19.8.1-1.aix6.1.ppc.rpm issue?

    Posted Wed October 03, 2018 09:17 AM

    Originally posted by: AyappanP


    This should not have happened in the first place. Not sure what went wrong. The gettext-0.19.8.1 rpm ships the required library libintl.so.8. 

    But i see you had gettext-0.17.8 (which is not from AIX Toolbox) prior to the update. So some incompatibility created this problem i guess. 

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 3.  Re: gettext-0.19.8.1-1.aix6.1.ppc.rpm issue?

    Posted Thu October 04, 2018 07:41 AM

    Originally posted by: Teej42


    Is it possible that the libintl.a was locked during the RPM installation, since it affects how RPM behaves?

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 4.  Re: gettext-0.19.8.1-1.aix6.1.ppc.rpm issue?

    Posted Thu October 04, 2018 07:51 AM

    Originally posted by: AyappanP


    Not really. We have tested this.

    What rpm version you had in your machine when this happened ? And AIX level ?

     

     


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 5.  Re: gettext-0.19.8.1-1.aix6.1.ppc.rpm issue?

    Posted Thu October 04, 2018 08:03 AM

    Originally posted by: Teej42


    $ oslevel -s
    7100-05-01-1731
    

    I do not have the rpm -qa output at that time.  Really don't want to roll the server back after all of the efforts we put on it thus far, Current rpm -qa:

    $ rpm -qa
    TWeagent-8.6.0.1-0.ppc
    conserver-8.1.7-2.ppc
    gnutls-2.12.20-1.ppc
    libgcrypt-1.5.0-1.ppc
    libgpg-error-1.10-3.ppc
    libiconv-1.14-2.ppc
    libtasn1-3.3-1.ppc
    lzo-2.06-2.ppc
    nettle-2.7-2.ppc
    p11-kit-0.14-2.ppc
    pkg-config-0.25-3.ppc
    rsync-3.0.6-1.ppc
    teagent-realtime-0.9-1.ppc
    wget-1.9.1-1.ppc
    libffi-3.2.1-1.ppc
    libgcc-6.3.0-1.ppc
    mpfr-3.1.2-3.ppc
    gcc-cpp-6.3.0-1.ppc
    libstdc++-devel-6.3.0-1.ppc
    gcc-gfortran-6.3.0-1.ppc
    bzip2-1.0.6-2.ppc
    expat-2.2.4-1.ppc
    glib2-2.56.1-2.ppc
    ncurses-6.1-1.ppc
    libgomp-6.3.0-1.ppc
    xz-libs-5.2.3-1.ppc
    zlib-1.2.11-1.ppc
    lua-5.3.4-1.ppc
    openldap-2.4.45-3.ppc
    httpd-2.4.34-1.ppc
    sqlite-3.23.0-1.ppc
    readline-7.0-5.ppc
    intltool-0.51.0-2.noarch
    python-2.7.15-1.ppc
    python-setuptools-0.9.8-2.noarch
    python-pip-10.0.1-1.noarch
    python-backports_abc-0.5-1.noarch
    python-pyasn1-0.2.3-1.noarch
    python-dateutil-2.6.0-1.noarch
    python-xml-0.8.4-1.ppc
    krb5-libs-1.16.1-2.ppc
    python-passlib-1.7.1-1.noarch
    curl-7.9.3-2.ppc
    expect-5.42.1-3.ppc
    gnutls-devel-2.12.20-1.ppc
    libgcrypt-devel-1.5.0-1.ppc
    libgpg-error-devel-1.10-3.ppc
    libtasn1-devel-3.3-1.ppc
    lzo-devel-2.06-2.ppc
    openCIMOM-0.8-1.noarch
    pci.df1000fa-1-191A5.noarch
    tcl-8.4.7-3.ppc
    tk-8.4.7-3.ppc
    AIX-rpm-7.1.4.1-11.ppc
    libffi-devel-3.2.1-1.ppc
    gcc-6.3.0-1.ppc
    libmpc-1.0.3-1.ppc
    libstdc++-6.3.0-1.ppc
    gcc-c++-6.3.0-1.ppc
    bash-4.4-3.ppc
    db-6.2.32-1.ppc
    gdbm-1.12-1.ppc
    gmp-6.1.2-1.ppc
    info-6.3-1.ppc
    libunistring-0.9.9-1.ppc
    zlib-devel-1.2.11-1.ppc
    libxml2-2.9.5-1.ppc
    cyrus-sasl-2.1.26-3.ppc
    pcre-8.33-1.ppc
    mod_ssl-2.4.34-1.ppc
    sqlite-doc-3.23.0-1.ppc
    gettext-0.19.8.1-1.ppc
    perl-5.28.0-1.ppc
    python-docs-2.7.15-1.ppc
    libxml2-python-2.9.5-1.ppc
    python-babel-0.9.6-1.noarch
    python-six-1.10.0-1.noarch
    python-cryptography-1.8.1-1.noarch
    python-decorator-4.1.2-1.noarch
    python-pycrypto-2.6.1-1.ppc
    krb5-pkinit-openssl-1.16.1-2.ppc
    make-4.2.1-4.ppc
    

     


    #AIX-Open-Source-Software
    #AIXOpenSource