Power Global

 View Only
  • 1.  bash installation issue, not showing version after bash installed

    Posted Tue May 24, 2022 11:45 AM
    Hi, 

    I tried to install bash, but now getting error when try to get the version.

    hfatsweb01:/root # rpm -qa bash
    bash-5.1.4-2.ppc

    hfatsweb01:/root # bash --version
    exec(): 0509-036 Cannot load program bash_64 because of the following errors:
    0509-130 Symbol resolution failed for bash_64 because:
    0509-136 Symbol _GLOBAL__AIXI_libiconv_so (number 222) is not exported from
    dependent module /opt/freeware/lib/libiconv.a[libiconv.so.2].
    0509-136 Symbol _GLOBAL__AIXD_libiconv_so (number 223) is not exported from
    dependent module /opt/freeware/lib/libiconv.a[libiconv.so.2].
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command.

    hfatsweb01:/root # whereis bash
    bash: /usr/bin/bash

    hfatsweb01:/root # rpm -qa |sort
    AIX-rpm-7.1.5.33-13.ppc
    atk-1.12.3-2.ppc
    bash-5.1.4-2.ppc
    bzip2-1.0.8-2.ppc
    ca-certificates-2016.10.7-2.ppc
    cairo-1.8.8-1.ppc
    curl-7.52.1-1.ppc
    db-5.3.28-1.ppc
    expat-2.2.9-2.ppc
    fontconfig-2.4.2-1.ppc
    freetype2-2.3.9-1.ppc
    gdbm-1.19-1.ppc
    gettext-0.20.2-1.ppc
    glib2-2.56.1-3.ppc
    gtk2-2.10.6-4.ppc
    info-6.7-1.ppc
    libffi-3.2.1-3.ppc
    libgcc-8-1.ppc
    libgcc8-8.3.0-6.ppc
    libgomp-8-1.ppc
    libgomp8-8.3.0-4.ppc
    libiconv-1.14-1.ppc
    libiconv-1.16-1.ppc
    libjpeg-6b-6.ppc
    libpng-1.2.32-2.ppc
    libstdc++-8-1.ppc
    libstdc++8-8.3.0-6.ppc
    libtextstyle-0.20.2-1.ppc
    libtiff-3.8.2-1.ppc
    libunistring-0.9.10-1.ppc
    libxml2-2.9.10-1.ppc
    lpar2rrd-agent-5.05-2.ppc
    ncurses-6.2-2.ppc
    openssl-0.9.7d-2.ppc
    openssl-devel-0.9.7d-2.ppc
    openssl-doc-0.9.7d-2.ppc
    pango-1.14.5-4.ppc
    pixman-0.12.0-3.ppc
    pysqlite-1.1.7-2.ppc
    python-2.7.18-3.ppc
    python-devel-2.7.18-3.ppc
    python-iniparse-0.4-1.noarch
    python-pycurl-7.19.3-1.ppc
    python-tools-2.7.18-3.ppc
    python-urlgrabber-3.10.1-1.noarch
    readline-8.1-1.ppc
    sqlite-3.35.5-1.ppc
    swiagent-2020.2.6.20131-b5170e0.ppc
    unzip-5.51-1.ppc
    vim-common-8.1.2424-1.ppc
    vim-enhanced-8.1.2424-1.ppc
    vnc-3.3.3r2-6.ppc
    xcursor-1.1.7-3.ppc
    xft-2.1.6-5.ppc
    xrender-0.9.1-3.ppc
    xz-libs-5.2.5-1.ppc
    yum-3.4.3-7.noarch
    yum-metadata-parser-1.1.4-2.ppc
    zip-2.3-3.ppc
    zlib-1.2.11-2.ppc
    hfatsweb01:/root #


    hfatsweb01:/root # echo $PATH
    /opt/freeware/bin:/opt/freeware/sbin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14_64/jre/bin:/usr/java14_64/bin:/usr/local/bin:/usr/local/sysadmin/bin:/usr/local/sysadmin/perftools/nmon/NMON12:/opt/csm/bin:/usr/sbin:/usr/bin:/usr/local/bin:/opt/LicenseUseManagement/bin:/usr/opt/ifor/ls/os/aix/bin
    hfatsweb01:/root #
    hfatsweb01:/root #
    hfatsweb01:/root # echo $LIBPATH

    hfatsweb01:/root # unset LIBPATH


    hfatsweb01:/root # rpm -qi libiconv
    Name : libiconv
    Version : 1.16
    Release : 1
    Architecture: ppc
    Install Date: Wed Jul 21 15:23:49 CDT 2021
    Group : System Environment/Libraries
    Size : 2786858
    License : LGPL
    Signature : (none)
    Source RPM : libiconv-1.16-1.src.rpm
    Build Date : Mon Apr 29 03:18:22 CDT 2019
    Build Host : aix51.perzl.org
    URL : http://www.gnu.org/software/libiconv/
    Summary : Character set conversion library, portable iconv implementation
    Description :
    GNU libiconv provides an iconv() implementation for use on systems
    which don't have one or whose implementation cannot convert from/to Unicode.
    It supports all the important encodings in use today.

    The library is available as 32-bit and 64-bit.

    If you are compiling a 32-bit program, no special compiler options are
    needed.

    If you are compiling a 64-bit program, you have to compile and link your
    application with "cc_r -q64" or "gcc -maix64".
    Name : libiconv
    Version : 1.14
    Release : 1
    Architecture: ppc
    Install Date: Mon May 23 07:41:07 CDT 2022
    Group : System Environment/Libraries
    Size : 2715232
    License : LGPL
    Signature : (none)
    Source RPM : libiconv-1.14-1.src.rpm
    Build Date : Tue Aug 9 15:38:59 CDT 2011
    Build Host : aix51.perzl.org
    URL : http://www.gnu.org/software/libiconv/
    Summary : Character set conversion library, portable iconv implementation
    Description :
    GNU libiconv provides an iconv() implementation for use on systems
    which don't have one or whose implementation cannot convert from/to Unicode.
    It supports all the important encodings in use today.

    The library is available as 32-bit and 64-bit.

    If you are compiling a 32-bit program, no special compiler options are
    needed.

    If you are compiling a 64-bit program, you have to compile and link your
    application with "cc -q64" or "gcc -maix64".
    hfatsweb01:/root #
    hfatsweb01:/root #
    hfatsweb01:/root #
    hfatsweb01:/root #
    hfatsweb01:/root # rpm -qi bash
    Name : bash
    Version : 5.1.4
    Release : 2
    Architecture: ppc
    Install Date: Wed Sep 1 09:12:39 CDT 2021
    Group : System Environment/Shells
    Size : 9488635
    License : GPLv3+
    Signature : (none)
    Source RPM : bash-5.1.4-2.src.rpm
    Build Date : Fri Aug 13 03:33:12 CDT 2021
    Build Host : pokndd10.pok.stglabs.ibm.com
    Packager : IBM AIX Toolbox <https://ibm.biz/AIXToolbox>
    URL : http://www.gnu.org/software/bash
    Bug URL : https://ibm.biz/aixoss_forum
    Summary : The GNU Bourne Again shell (bash) version 5.1.4
    Description :
    The GNU Bourne Again shell (Bash) is a shell or command language
    interpreter that is compatible with the Bourne shell (sh). Bash
    incorporates useful features from the Korn shell (ksh) and the C shell
    (csh). Most sh scripts can be run by bash without modification. This
    package (bash) contains bash version 5.1.4.

    There are 32bit and 64bit binary versions available for bash

    In this release, process substitution is not completely working. The output
    of a command might not be redirected correctly when using <(cmd) or >(cmd).
    hfatsweb01:/root #

    hfatsweb01:/root # oslevel -s
    7200-05-03-2148
    hfatsweb01:/root #

    Thanks,
    HD team




    ------------------------------
    Harley AIX
    ------------------------------


  • 2.  RE: bash installation issue, not showing version after bash installed

    Posted Thu May 26, 2022 10:25 AM
    Hello
    I see you also asked this question in the AIX Open Source forum, and answers were provided:
    https://community.ibm.com/community/user/power/discussion/bash-installation-issue-not-showing-version-after-bash-installed-1

    As we have explained in previous posts, you have conflicting packages.

    Note: 
    Signature : (none)
    Source RPM : libiconv-1.15-1.src.rpm
    Build Date : Thu Feb 2 23:01:06 2017
    Build Host : aix51.perzl.org

    You will continue to have issues as long as you have non-Toolbox packages installed which conflict with AIX packages.
    We recommend that you start with a clean system, and use DNF to manage package dependencies.



    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------