Open Source Development

Power Open Source Development

Connect, learn, share, and engage with IBM Power.


#Power


#Power
 View Only
Expand all | Collapse all

Installing yum bundle under AIX 7.2 / gettext conflicts

  • 1.  Installing yum bundle under AIX 7.2 / gettext conflicts

    Posted Thu June 11, 2020 10:48 AM
    Hello,

    We plan to install   yum bundle  on our AIX 7.2 partition but we have conflits with the   gettext  package.

    Should we ignore these messages, skip this gettext package and continue with the next package to install ?

    Or what could be the solution to successfully install the  gettext-0.19.7-1.ppc    package ?

    We thank you very much for your help,

    Christophe


    adcci034(root) /tmp/yum_deploiement # oslevel -s
    7200-04-01-1939
    adcci034(root) /tmp/yum_deploiement #



    adcci034(root) /tmp/yum_deploiement # ./Yum_rpm_install.ksh
    Preparing... ################################# [100%]
    file /opt/freeware/bin/msgcmp from install of gettext-0.19.7-1.ppc conflicts with file from package gettext-0.10.40-8.ppc
    file /opt/freeware/bin/msgcomm from install of gettext-0.19.7-1.ppc conflicts with file from package gettext-0.10.40-8.ppc
    file /opt/freeware/bin/msgfmt from install of gettext-0.19.7-1.ppc conflicts with file from package gettext-0.10.40-8.ppc
    file /opt/freeware/bin/msgmerge from install of gettext-0.19.7-1.ppc conflicts with file from package gettext-0.10.40-8.ppc
    file /opt/freeware/bin/msgunfmt from install of gettext-0.19.7-1.ppc conflicts with file from package gettext-0.10.40-8.ppc
    file /opt/freeware/bin/ngettext from install of gettext-0.19.7-1.ppc conflicts with file from package gettext-0.10.40-8.ppc
    file /opt/freeware/bin/xgettext from install of gettext-0.19.7-1.ppc conflicts with file from package gettext-0.10.40-8.ppc
    file /opt/freeware/bin/gettext from install of gettext-0.19.7-1.ppc conflicts with file from package gettext-0.10.40-8.ppc
    file /opt/freeware/lib/libintl.a from install of gettext-0.19.7-1.ppc conflicts with file from package gettext-0.10.40-8.ppc
    ### simulation gettext-0.19.7-1.aix6.1.ppc.rpm --test en anomalie rc=1 ###
    adcci034(root) /tmp/yum_deploiement # rpm -qa|grep -i gettext
    gettext-0.10.40-8.ppc
    adcci034(root) /tmp/yum_deploiement #
    adcci034(root) /tmp/yum_deploiement #
    adcci034(root) /tmp/yum_deploiement # rpm -qi gettext-0.10.40-8.ppc
    Name : gettext
    Version : 0.10.40
    Release : 8
    Architecture: ppc
    Install Date: Mon Jul 7 16:48:18 DFT 2014
    Group : Gnome2/Tools
    Size : 3693148
    License : GPL/LGPL
    Signature : (none)
    Source RPM : gettext-0.10.40-8.src.rpm
    Build Date : Fri Jan 4 21:41:20 NFT 2008
    Build Host : delrio.austin.ibm.com
    Relocations : (not relocatable)
    URL : http://www.gnu.org/software/gettext/
    Summary : GNU libraries and utilities for producing multi-lingual messages.
    Description :
    The GNU gettext package provides a set of tools and documentation for
    producing multi-lingual messages in programs. Tools include a set of
    conventions about how programs should be written to support message
    catalogs, a directory and file naming organization for the message
    catalogs, a runtime library which supports the retrieval of translated
    messages, and stand-alone programs for handling the translatable and
    the already translated strings. Gettext provides an easy to use
    library and tools for creating, using, and modifying natural language
    catalogs and is a powerful and simple method for internationalizing
    programs.
    adcci034(root) /tmp/yum_deploiement #

    ------------------------------
    christophe derouet
    ------------------------------

    #AIXOpenSource


  • 2.  RE: Installing yum bundle under AIX 7.2 / gettext conflicts

    Posted Thu June 11, 2020 11:00 AM
    What is this script "Yum_rpm_install.ksh" ? 
    Is it the same "yum.sh" script hosted in AIX Toolbox site ?
    These types of error comes when one uses "rpm install (rpm -ivh)" instead "rpm upgrade (rpm -Uvh)"
    The machine already has gettext older version installed and it needs upgrade, not install.


    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: Installing yum bundle under AIX 7.2 / gettext conflicts

    Posted Thu June 11, 2020 11:21 AM
    Thank you Ayappan   the gettext  package is successfully installed now.

    But i have new conflicts with the next package   gdbm 

    adcci034(root) /tmp/yum_deploiement # ./Yum_rpm_install.ksh
    Preparing... ################################# [100%]
    ### simulation gettext-0.19.7-1.aix6.1.ppc.rpm --test ok rc=0 ###
    Preparing... ################################# [100%]
    /
    Updating / installing...
    1:gettext-0.19.7-1 ################################# [ 50%]
    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
    /
    Cleaning up / removing...
    2:gettext-0.10.40-8 ################################# [100%]
    ### installation gettext-0.19.7-1.aix6.1.ppc.rpm ok rc=0 ###
    Preparing... ################################# [100%]
    file /opt/freeware/64 from install of gdbm-1.8.3-5.ppc conflicts with file from package freetype-1.3.1-9.ppc
    file /opt/freeware/64/lib from install of gdbm-1.8.3-5.ppc conflicts with file from package freetype-1.3.1-9.ppc
    file /opt/freeware/64/lib from install of gdbm-1.8.3-5.ppc conflicts with file from package libjpeg-6b-6.ppc
    file /opt/freeware/64 from install of gdbm-1.8.3-5.ppc conflicts with file from package libjpeg-6b-6.ppc
    ### simulation gdbm-1.8.3-5.aix5.2.ppc.rpm --test en anomalie rc=1 ###
    adcci034(root) /tmp/yum_deploiement # rpm -qa|grep -i gdbm
    adcci034(root) /tmp/yum_deploiement # rpm -qa|grep -i freetype
    freetype-1.3.1-9.ppc
    freetype2-2.1.4-1.ppc
    adcci034(root) /tmp/yum_deploiement # rpm -qa|grep -i libjpeg
    libjpeg-6b-6.ppc
    adcci034(root) /tmp/yum_deploiement #


    Do i have to update    freetype   and   libjpeg   packages ?

    ------------------------------
    christophe derouet
    ------------------------------



  • 4.  RE: Installing yum bundle under AIX 7.2 / gettext conflicts

    Posted Thu June 11, 2020 11:47 AM
    freetype is obsolete now and you already have freetype2. So you can remove it.
    And yes, update libjpeg.

    ------------------------------
    Ayappan P
    ------------------------------



  • 5.  RE: Installing yum bundle under AIX 7.2 / gettext conflicts

    Posted Thu June 11, 2020 12:19 PM
    Thank you very much Ayappan.

    Package  gdbm  is successfully installed now.

    Then i have new conflicts from    db-4.8.24-3.ppc    installation ...  I am sorry ...

    Do i have to remove    db4-4.7.25-2.ppc    and install    db-4.8.24-3.ppc   from scratch ?



    adcci034(root) /tmp/yum_deploiement # ./Yum_rpm_install.ksh
    Preparing... ################################# [100%]
    ### simulation gdbm-1.8.3-5.aix5.2.ppc.rpm --test ok rc=0 ###
    Preparing... ################################# [100%]
    Updating / installing...
    1:gdbm-1.8.3-5 ################################# [100%]
    ### installation gdbm-1.8.3-5.aix5.2.ppc.rpm ok rc=0 ###
    Preparing... ################################# [100%]
    file /opt/freeware/lib/libdb.so from install of db-4.8.24-3.ppc conflicts with file from package db4-4.7.25-2.ppc
    file /opt/freeware/lib/libdb-4.so from install of db-4.8.24-3.ppc conflicts with file from package db4-4.7.25-2.ppc
    file /opt/freeware/lib/libdb-4.a from install of db-4.8.24-3.ppc conflicts with file from package db4-4.7.25-2.ppc
    file /opt/freeware/lib/libdb.a from install of db-4.8.24-3.ppc conflicts with file from package db4-4.7.25-2.ppc
    ### simulation db-4.8.24-3.aix6.1.ppc.rpm --test en anomalie rc=1 ###
    adcci034(root) /tmp/yum_deploiement #




    ------------------------------
    christophe derouet
    ------------------------------



  • 6.  RE: Installing yum bundle under AIX 7.2 / gettext conflicts

    Posted Thu June 11, 2020 12:30 PM
    Yes, you need to remove db4-4.7.25-2 . 
    But need to be careful that rpm itself (rpm.rte fileset) should not be broken. If you have rpm.rte 4.13.0.4 and above , then it is safe. Otherwise backup those libraries provided by db4 and then remove it.

    ------------------------------
    Ayappan P
    ------------------------------



  • 7.  RE: Installing yum bundle under AIX 7.2 / gettext conflicts

    Posted Mon June 15, 2020 05:41 AM
    Hello Ayappan,

    I tried to remove the old db4 package but i have the message below.
    I have a dependency with httpd.
    As httpd package is used by our   application  team, we will have to plan an upgrade of httpd if it is necessary.

    Is there another solution  ? 

     

    adcci034(root) /tmp/yum_deploiement #
    adcci034(root) /tmp/yum_deploiement # rpm -ev db4-4.7.25-2.ppc --test
    error: Failed dependencies:
    libdb-4.7.so is needed by (installed) httpd-2.2.17-1.ppc
    adcci034(root) /tmp/yum_deploiement #
    adcci034(root) /tmp/yum_deploiement #
    adcci034(root) /tmp/yum_deploiement #
    adcci034(root) /tmp/yum_deploiement # rpm -qi httpd-2.2.17-1.ppc
    Name : httpd
    Version : 2.2.17
    Release : 1
    Architecture: ppc
    Install Date: Wed Aug 6 15:48:29 DFT 2014
    Group : System Environment/Daemons
    Size : 3080700
    License : Apache Software License
    Signature : (none)
    Source RPM : httpd-2.2.17-1.src.rpm
    Build Date : Fri Jan 28 12:10:20 NFT 2011
    Build Host : aix51.perzl.org
    Relocations : (not relocatable)
    URL : http://httpd.apache.org/
    Summary : Apache HTTP Server
    Description :
    The Apache HTTP Server is a powerful, efficient, and extensible
    web server.
    adcci034(root) /tmp/yum_deploiement #

    ------------------------------
    christophe derouet
    ------------------------------



  • 8.  RE: Installing yum bundle under AIX 7.2 / gettext conflicts

    Posted Mon June 15, 2020 08:19 AM
    This httpd version  links to libdb-4.7.so (and pretty old as well)
    I don't see a way to update db without updating httpd. You have to update httpd.

    ------------------------------
    Ayappan P
    ------------------------------



  • 9.  RE: Installing yum bundle under AIX 7.2 / gettext conflicts

    Posted Wed June 24, 2020 05:07 AM
    Hello Ayappan,

    Package httpd-2.2.17-1.ppc has been removed.
    Then Package db4-4.7.25-2.ppc  has been removed.
    YUM installation is now complete and successfull.
    Newest package httpd  has been successfully installed.

    Everything is OK i thank you very much for your help,


    ------------------------------
    christophe derouet
    ------------------------------



  • 10.  RE: Installing yum bundle under AIX 7.2 / gettext conflicts

    Posted Wed June 24, 2020 05:34 AM
      |   view attached
    Yum installation is OK but our developpement team has the problem below :


    [ERROR]   24/06/2020 11:09:07  Admin   Can't load '/usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/auto/XML/Parser/Expat/Expat.so' for module XML::Parser::Expat: Could not load module /opt/freeware/lib/libexpat.a(libexpat.so.1).

    [ERROR]   24/06/2020 11:09:07  Admin    Dependent module libgcc_s.a(shr.o) could not be loaded.

    [ERROR]   24/06/2020 11:09:07  Admin   Could not load module libgcc_s.a(shr.o).

    [ERROR]   24/06/2020 11:09:07  Admin   System error: No such file or directory

    [ERROR]   24/06/2020 11:09:07  Admin   Could not load module /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/auto/XML/Parser/Expat/Expat.so.

    [ERROR]   24/06/2020 11:09:07  Admin    Dependent module /opt/freeware/lib/libexpat.a(libexpat.so.1) could not be loaded. at /usr/opt/perl5/lib/5.28.1/aix-thread-multi/DynaLoader.pm line 193.

    [ERROR]   24/06/2020 11:09:07  Admin    at /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/XML/Parser.pm line 18.

    [ERROR]   24/06/2020 11:09:07  Admin   Compilation failed in require at /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/XML/Parser.pm line 18.

    [ERROR]   24/06/2020 11:09:07  Admin   BEGIN failed--compilation aborted at /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/XML/Parser.pm line 22.

    [ERROR]   24/06/2020 11:09:07  Admin   Compilation failed in require at /opt/rsd/COMMON/lib/rsdPatchFunc.pm line 5.

    [ERROR]   24/06/2020 11:09:07  Admin   BEGIN failed--compilation aborted at /opt/rsd/COMMON/lib/rsdPatchFunc.pm line 5.

    [ERROR]   24/06/2020 11:09:07  Admin   Compilation failed in require at /opt/rsd/COMMON/script/rsdpatch.pl line 7.

    [ERROR]   24/06/2020 11:09:07  Admin   BEGIN failed--compilation aborted at /opt/rsd/COMMON/script/rsdpatch.pl line 7.

    [ERROR]   24/06/2020 11:09:07  Admin   No RSD products found (environment not initailised?), stop


    What should i check ?     I have enclosed the yum installation log in case it can be usefull. 


    ------------------------------
    christophe derouet
    ------------------------------



  • 11.  RE: Installing yum bundle under AIX 7.2 / gettext conflicts

    Posted Wed June 24, 2020 06:04 AM
    There is a problem with library search path of expat library. As a workaround you an export LIBPATH=/opt/freeware/lib.

    This file "/usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/auto/XML/Parser/Expat/Expat.so" is from perl.rte fileset.
    It links to expat library which only comes through expat rpm which i think is not good. You can open a case for the above issue.




    ------------------------------
    Ayappan P
    ------------------------------



  • 12.  RE: Installing yum bundle under AIX 7.2 / gettext conflicts

    Posted Wed June 24, 2020 06:18 AM
    Yesterday we have applied the PTF below.

    IV89376: Adding support for AIX7.2 to XL C/C++ for AIX, V11.1

    But we did not ran      updtvpkg    command.   We have forgotten.

    Do you think there is a link between the applied   PTF    and  this problem  (library search path of expat library) ?

    Or does it have nothing to do with this problem ..

    ------------------------------
    christophe derouet
    ------------------------------



  • 13.  RE: Installing yum bundle under AIX 7.2 / gettext conflicts

    Posted Wed June 24, 2020 06:31 AM
    sorry it is a mistake.

    PTF IV89376: Adding support for AIX7.2 to XL C/C++ for AIX, V11.1 has been applied on another LPAR.



    ------------------------------
    christophe derouet
    ------------------------------