AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

Error while installing/updating the package from Yum

  • 1.  Error while installing/updating the package from Yum

    Posted Tue October 05, 2021 02:08 PM
    I need to update the latest samab package for AIX 7.2 and for that we have configure the yum on AIX env but while installing/updating we are getting dependency error as below:

    Error: Package: openldap-2.4.58-1.ppc (AIX_Toolbox)
    Requires: libssl.a(libssl.so.1.0.2)
    Error: Package: samba-4.14.4-2.ppc (AIX_Toolbox_72)
    Requires: libnsl.a(shr.o)
    Error: Package: samba-winbind-4.14.4-2.ppc (AIX_Toolbox_72)
    Requires: libnsl.a(shr.o)
    Error: Package: samba-common-4.14.4-2.ppc (AIX_Toolbox_72)
    Requires: libnsl.a(shr.o)
    Error: Package: python3-3.7.11-1.ppc (AIX_Toolbox)
    Requires: libssl.a(libssl.so.1.0.2)
    Error: Package: openldap-2.4.58-1.ppc (AIX_Toolbox)
    Requires: libcrypto.a(libcrypto.so.1.0.2)
    Error: Package: python3-3.7.11-1.ppc (AIX_Toolbox)
    Requires: libcrypto.a(libcrypto.so.1.0.2)
    Error: Package: python3-3.7.11-1.ppc (AIX_Toolbox)
    Requires: libnsl.a(shr.o)
    Error: Package: python3-3.7.11-1.ppc (AIX_Toolbox)
    Requires: libnsl.a(shr_64.o)
    Error: Package: samba-client-4.14.4-2.ppc (AIX_Toolbox_72)
    Requires: libnsl.a(shr.o)
    Error: Package: cyrus-sasl-2.1.26-5.ppc (AIX_Toolbox)
    Requires: libcrypto.a(libcrypto.so.1.0.2)
    You could try using --skip-broken to work around the problem
    ** Found 12 pre-existing rpmdb problem(s), 'yum check' output follows:
    MySQL-client-3.23.58-2.ppc has missing requires of libnsl_r.a(shr.o)
    curl-7.52.1-1.ppc has missing requires of libcrypto.a(libcrypto.so)
    curl-7.52.1-1.ppc has missing requires of libssl.a(libssl.so)
    python-2.7.10-1.ppc has missing requires of libcrypto.a(libcrypto.so)
    python-2.7.10-1.ppc has missing requires of libnsl.a(shr.o)
    python-2.7.10-1.ppc has missing requires of libreadline.a(libreadline.so.6)
    python-2.7.10-1.ppc has missing requires of libssl.a(libssl.so)
    python-2.7.10-1.ppc has missing requires of libtcl8.4.so
    python-2.7.10-1.ppc has missing requires of libtk8.4.so
    python-pycurl-7.19.3-1.ppc has missing requires of libcrypto.a(libcrypto.so)
    sqlite-3.15.2-1.ppc has missing requires of readline >= ('0', '5.2', None)
    sqlite-3.15.2-1.ppc has missing requires of libreadline.a(libreadline.so.6)

    Can some one help to resolve this issue, or is there any link from where i can download all the package in single go.


    ------------------------------
    Gaurav Sood
    ------------------------------


  • 2.  RE: Error while installing/updating the package from Yum

    Posted Tue October 05, 2021 02:29 PM
    Looks like , you have python 2.7 installed on  your AIX and  smaba package is require pyton3.7 
    Install pyton3  then you can try  ..plus check any other  other dependence before trying the actual package 
    $ yum deplist <package-name>

    Python3 and Python2.7 can co exist ..no need to remove .. like below 

    $ python3 --version
    Python 3.7.9
    $ python
    Python 2.7.10 (default, Jun 22 2016, 05:57:59) [C] on aix6
    Type "help", "copyright", "credits" or "license" for more information.
    >>>
    $ python --version
    Python 2.7.10
    $
    Need to use python3 for pyhton3 and old python goes just python 

    Thanks 
    Afzal Muhammad

    ------------------------------
    Muhammad' Afzal
    AIX Engineer
    Ford Motor Company
    Dearborn MI
    ------------------------------



  • 3.  RE: Error while installing/updating the package from Yum

    Posted Thu October 07, 2021 10:44 AM
    Hi,

    Getting same error while installing the python3.

    root@ptestbox3[/]#yum install python3
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package python3.ppc 0:3.7.11-1 will be installed
    --> Processing Dependency: expat >= 2.2.9 for package: python3-3.7.11-1.ppc
    --> Processing Dependency: bzip2 >= 1.0.8 for package: python3-3.7.11-1.ppc
    --> Processing Dependency: gettext >= 0.19.8.1 for package: python3-3.7.11-1.ppc
    --> Processing Dependency: zlib >= 1.2.11 for package: python3-3.7.11-1.ppc
    --> Processing Dependency: sqlite >= 3.32.1 for package: python3-3.7.11-1.ppc
    --> Processing Dependency: ncurses >= 6.2 for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libffi >= 3.2.1 for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libgcc >= 8.3.0 for package: python3-3.7.11-1.ppc
    --> Processing Dependency: xz-libs >= 5.2.4 for package: python3-3.7.11-1.ppc
    --> Processing Dependency: readline >= 8.0-2 for package: python3-3.7.11-1.ppc
    --> Processing Dependency: gdbm >= 1.18.1 for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libffi.a(libffi.so.6) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libexpat.a(libexpat.so.1) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.0.2) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libreadline.a(libreadline.so.8) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libpanel.so for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libnsl.a(shr_64.o) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.0.2) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: liblzma.a(liblzma.so.5) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libncurses.so for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libgcc_s.a(shr.o) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libgdbm.a(libgdbm.so.6) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libnsl.a(shr.o) for package: python3-3.7.11-1.ppc
    --> Running transaction check
    ---> Package bzip2.ppc 0:1.0.8-2 will be installed
    ---> Package expat.ppc 0:2.2.9-2 will be installed
    ---> Package gdbm.ppc 0:1.8.3-5 will be updated
    ---> Package gdbm.ppc 0:1.19-1 will be an update
    ---> Package gettext.ppc 0:0.19.7-1 will be updated
    ---> Package gettext.ppc 0:0.20.2-1 will be an update
    --> Processing Dependency: libtextstyle = 0.20.2-1 for package: gettext-0.20.2-1.ppc
    --> Processing Dependency: libunistring >= 0.9.9-2 for package: gettext-0.20.2-1.ppc
    --> Processing Dependency: libxml2 >= 2.9.9 for package: gettext-0.20.2-1.ppc
    --> Processing Dependency: libgomp >= 8.3.0 for package: gettext-0.20.2-1.ppc
    --> Processing Dependency: libstdc++ >= 8.3.0 for package: gettext-0.20.2-1.ppc
    --> Processing Dependency: glib2 >= 2.56.1 for package: gettext-0.20.2-1.ppc
    --> Processing Dependency: libiconv >= 1.16 for package: gettext-0.20.2-1.ppc
    --> Processing Dependency: libstdc++.a(libstdc++.so.6) for package: gettext-0.20.2-1.ppc
    --> Processing Dependency: libgomp.a(libgomp.so.1) for package: gettext-0.20.2-1.ppc
    --> Processing Dependency: libiconv.a(libiconv.so.2) for package: gettext-0.20.2-1.ppc
    --> Processing Dependency: libtextstyle.a(libtextstyle.so.0) for package: gettext-0.20.2-1.ppc
    --> Processing Dependency: libunistring.a(libunistring.so.2) for package: gettext-0.20.2-1.ppc
    ---> Package libffi.ppc 0:3.2.1-3 will be installed
    ---> Package libgcc.ppc 1:8-1 will be installed
    ---> Package libgcc8.ppc 0:8.3.0-6 will be installed
    ---> Package ncurses.ppc 0:6.2-3 will be installed
    ---> Package python3.ppc 0:3.7.11-1 will be installed
    --> Processing Dependency: libssl.a(libssl.so.1.0.2) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libnsl.a(shr_64.o) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.0.2) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libnsl.a(shr.o) for package: python3-3.7.11-1.ppc
    ---> Package readline.ppc 0:4.3-2 will be updated
    ---> Package readline.ppc 0:8.1-1 will be an update
    --> Processing Dependency: info >= 6.4 for package: readline-8.1-1.ppc
    ---> Package sqlite.ppc 0:3.15.2-1 will be updated
    ---> Package sqlite.ppc 0:3.35.5-1 will be an update
    ---> Package xz-libs.ppc 0:5.2.5-1 will be installed
    ---> Package zlib.ppc 0:1.2.11-2 will be installed
    --> Running transaction check
    ---> Package glib2.ppc 0:2.14.6-2 will be updated
    ---> Package glib2.ppc 0:2.56.1-3 will be an update
    ---> Package info.ppc 0:6.7-1 will be installed
    ---> Package libgomp.ppc 1:8-1 will be installed
    ---> Package libgomp8.ppc 0:8.3.0-6 will be installed
    ---> Package libiconv.ppc 0:1.16-1 will be installed
    ---> Package libstdc++.ppc 1:8-1 will be installed
    ---> Package libstdc++8.ppc 0:8.3.0-6 will be installed
    ---> Package libtextstyle.ppc 0:0.20.2-1 will be installed
    ---> Package libunistring.ppc 0:0.9.10-1 will be installed
    ---> Package libxml2.ppc 0:2.9.10-1 will be installed
    ---> Package python3.ppc 0:3.7.11-1 will be installed
    --> Processing Dependency: libssl.a(libssl.so.1.0.2) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libnsl.a(shr_64.o) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.0.2) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libnsl.a(shr.o) for package: python3-3.7.11-1.ppc
    --> Finished Dependency Resolution
    Error: Package: python3-3.7.11-1.ppc (AIX_Toolbox)
    Requires: libssl.a(libssl.so.1.0.2)
    Error: Package: python3-3.7.11-1.ppc (AIX_Toolbox)
    Requires: libnsl.a(shr_64.o)
    Error: Package: python3-3.7.11-1.ppc (AIX_Toolbox)
    Requires: libcrypto.a(libcrypto.so.1.0.2)
    Error: Package: python3-3.7.11-1.ppc (AIX_Toolbox)
    Requires: libnsl.a(shr.o)
    You could try using --skip-broken to work around the problem
    ** Found 12 pre-existing rpmdb problem(s), 'yum check' output follows:
    MySQL-client-3.23.58-2.ppc has missing requires of libnsl_r.a(shr.o)
    curl-7.52.1-1.ppc has missing requires of libcrypto.a(libcrypto.so)
    curl-7.52.1-1.ppc has missing requires of libssl.a(libssl.so)
    python-2.7.10-1.ppc has missing requires of libcrypto.a(libcrypto.so)
    python-2.7.10-1.ppc has missing requires of libnsl.a(shr.o)
    python-2.7.10-1.ppc has missing requires of libreadline.a(libreadline.so.6)
    python-2.7.10-1.ppc has missing requires of libssl.a(libssl.so)
    python-2.7.10-1.ppc has missing requires of libtcl8.4.so
    python-2.7.10-1.ppc has missing requires of libtk8.4.so
    python-pycurl-7.19.3-1.ppc has missing requires of libcrypto.a(libcrypto.so)
    sqlite-3.15.2-1.ppc has missing requires of readline >= ('0', '5.2', None)
    sqlite-3.15.2-1.ppc has missing requires of libreadline.a(libreadline.so.6)

    Could you please help from where i can get these specific missing filset

    ------------------------------
    Gaurav Sood
    ------------------------------



  • 4.  RE: Error while installing/updating the package from Yum

    Posted Thu October 07, 2021 10:58 AM

    Your Yum repository is not up to date (does not have perquisites in its database)

    You have other choice to install it manually

    Here are the pre -requisites   first install file set in pre-req1  then in pre-req2  then install python3 rpm

    You may have slightly different pre-req  but here is what I did few months back on my AIX.

     

    RPMS/python3-upgt# ls -tlr

    total 79648

    drwxrwxr-x    2 root     system          256 Feb 17 2021  preq1

    -rwxrwxr-x    1 root     system     40763740 Feb 17 2021  python3-3.7.9-1.aix6.1.ppc.rpm

    drwxrwxr-x    2 root     system         4096 Feb 17 2021  preq2

    -rwxrwxr-x    1 root     system          780 Feb 24 2021  Readme.txt

    -rwxrwxr-x    1 root     system         3624 Jul 18 05:53 cache.dat

    /RPMS/python3-upgt# cd preq1

    /RPMS/python3-upgt/preq1# ls -tlr

    total 560

    -rwxrwxr-x    1 root     system       284219 Feb 17 2021  gdbm-1.18.1-1.aix6.1.ppc.rpm

    /RPMS/python3-upgt/preq1# cd ..

    /RPMS/python3-upgt# cd preq2

    /RPMS/python3-upgt/preq2# ls -tlr

    total 150544

    -rwxrwxr-x    1 root     system       243981 Feb 17 2021  bzip2-1.0.8-2.aix6.1.ppc.rpm

    -rwxrwxr-x    1 root     system       916279 Feb 17 2021  expat-2.2.9-2.aix6.1.ppc.rpm

    -rwxrwxr-x    1 root     system      7931098 Feb 17 2021  gettext-0.19.8.1-5.aix6.1.ppc.rpm

    -rwxrwxr-x    1 root     system        48312 Feb 17 2021  libffi-3.2.1-3.aix6.1.ppc.rpm

    -rwxrwxr-x    1 root     system     29735947 Feb 17 2021  glib2-2.56.1-2.aix6.1.ppc.rpm

    -rwxrwxr-x    1 root     system       680361 Feb 17 2021  info-6.6-2.aix6.1.ppc.rpm

    -rwxrwxr-x    1 root     system        14564 Feb 17 2021  libgcc-8-1.aix7.2.ppc.rpm

    -rwxrwxr-x    1 root     system        14029 Feb 17 2021  libstdcplusplus-8-1.aix7.2.ppc.rpm

    -rwxrwxr-x    1 root     system       997797 Feb 17 2021  libgcc8-8.3.0-4.aix7.2.ppc.rpm

    -rwxrwxr-x    1 root     system     12731081 Feb 17 2021  libstdcplusplus8-8.3.0-4.aix7.2.ppc.rpm

    -rwxrwxr-x    1 root     system      1522049 Feb 17 2021  libunistring-0.9.9-2.aix6.1.ppc.rpm

    -rwxrwxr-x    1 root     system       517775 Feb 17 2021  libyaml-0.2.2-1.aix6.1.ppc.rpm

    -rwxrwxr-x    1 root     system      5659903 Feb 17 2021  libxml2-2.9.9-1.aix6.1.ppc.rpm

    -rwxrwxr-x    1 root     system      3662930 Feb 17 2021  ncurses-6.2-2.aix6.1.ppc.rpm

    -rwxrwxr-x    1 root     system      2525190 Feb 17 2021  readline-8.0-2.aix6.1.ppc.rpm

    -rwxrwxr-x    1 root     system        34308 Feb 17 2021  sshpass-1.06-2.aix6.1.ppc.rpm

    -rwxrwxr-x    1 root     system      8555818 Feb 17 2021  sqlite-3.32.1-1.aix6.1.ppc.rpm

    -rwxrwxr-x    1 root     system       552574 Feb 17 2021  xz-libs-5.2.5-1.aix6.1.ppc.rpm

    -rwxrwxr-x    1 root     system       535292 Feb 17 2021  xz-5.2.5-1.aix6.1.ppc (1).rpm

    -rwxrwxr-x    1 root     system       163780 Feb 17 2021  xz-lzma-compat-5.2.5-1.aix6.1.ppc.rpm

    /RPMS/python3-upgt/preq2#

     

     

    Thanks,

    Afzal Muhammad

     

    IBM Certified AIX System Administrator AIX 6.1

    IBM Certfired AIX System Administrator AIX 4.3

    IBM Certified WebSphere 6.0 Adminstrator

    Red Had Linux 7 Certified  System Administrator (RHCSA)

    Global pSeries platform services – AIX

    Ford Motor Company,  Dearborn Michigan

    United States of America

    Tel: Cell 1-704-492-0586

    Email: mafzal10@ford.com

     






  • 5.  RE: Error while installing/updating the package from Yum

    Posted Thu October 07, 2021 11:04 AM

    Some of the dependencies you can download .. watch out your version no ...


    bzip2-1.0.8-2.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/bzip2/bzip2-1.0.8-2.aix6.1.ppc.rpm
    expat-2.2.9-2.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/expat/expat-2.2.9-2.aix6.1.ppc.rpm
    gdbm-1.18.1-1.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gdbm/gdbm-1.18.1-1.aix6.1.ppc.rpm
    gettext-0.19.8.1-5.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gettext/gettext-0.19.8.1-5.aix6.1.ppc.rpm
    glib2-2.56.1-2.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/glib2/glib2-2.56.1-2.aix6.1.ppc.rpm
    info-6.6-2.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/texinfo/info-6.6-2.aix6.1.ppc.rpm
    libffi-3.2.1-3.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libffi/libffi-3.2.1-3.aix6.1.ppc.rpm
    libgcc-8.3.0-2.aix7.2.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/gcc7/libgcc7-7.2.0-1.aix7.2.ppc.rpm
    libiconv-1.16-1.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libiconv/libiconv-1.16-1.aix6.1.ppc.rpm
    libstdcplusplus-8.3.0-2.aix7.2.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/gcc/libstdcplusplus-8.3.0-2.aix7.2.ppc.rpm
    libunistring-0.9.9-2.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libunistring/libunistring-0.9.9-2.aix6.1.ppc.rpm
    libxml2-2.9.9-1.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libxml2/libxml2-2.9.9-1.aix6.1.ppc.rpm
    libyaml-0.2.2-1.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libyaml/libyaml-0.2.2-1.aix6.1.ppc.rpm
    ncurses-6.2-2.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/ncurses/ncurses-6.2-2.aix6.1.ppc.rpm
    python3-3.7.9-1.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/python3/python3-3.7.9-1.aix6.1.ppc.rpm
    python3-markupsafe-1.1.1-1.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/python3/python3-markupsafe-1.1.1-1.aix6.1.ppc.rpm
    readline-8.0-2.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/readline/readline-8.0-2.aix6.1.ppc.rpm
    sqlite-3.32.1-1.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/sqlite/sqlite-3.32.1-1.aix6.1.ppc.rpm
    sshpass-1.06-2.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/sshpass/sshpass-1.06-2.aix6.1.ppc.rpm
    xz-libs-5.2.5-1.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/xz/xz-libs-5.2.5-1.aix6.1.ppc.rpm
    zlib-1.2.11-1.aix6.1.ppc.rpm -
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/zlib/zlib-1.2.11-1.aix6.1.ppc.rpm


     

    Thanks,

    Afzal Muhammad

     

    IBM Certified AIX System Administrator AIX 6.1

    IBM Certfired AIX System Administrator AIX 4.3

    IBM Certified WebSphere 6.0 Adminstrator

    Red Had Linux 7 Certified  System Administrator (RHCSA)

    Global pSeries platform services – AIX

    Ford Motor Company,  Dearborn Michigan

    United States of America

    Tel: Cell 1-704-492-0586

    Email: mafzal10@ford.com

     






  • 6.  RE: Error while installing/updating the package from Yum

    Posted Fri October 08, 2021 12:43 PM
    Thanks, for the reply.

    I have installed the required package using yum except the below one.

     libstdcplusplus-8-1.aix7.2.ppc.rpm
    libstdcplusplus8-8.3.0-4.aix7.2.ppc.rpm

    But still i am getting the issue while installing the samba package using yum. Is there any way to get the package listed below or python package along with the dependent requisite:

    root@ptestbox3[/]#yum install python3
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package python3.ppc 0:3.7.11-1 will be installed
    --> Processing Dependency: libnsl.a(shr.o) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.0.2) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libnsl.a(shr_64.o) for package: python3-3.7.11-1.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.0.2) for package: python3-3.7.11-1.ppc
    --> Finished Dependency Resolution
    Error: Package: python3-3.7.11-1.ppc (AIX_Toolbox)
    Requires: libssl.a(libssl.so.1.0.2)
    Error: Package: python3-3.7.11-1.ppc (AIX_Toolbox)
    Requires: libnsl.a(shr_64.o)
    Error: Package: python3-3.7.11-1.ppc (AIX_Toolbox)
    Requires: libcrypto.a(libcrypto.so.1.0.2)
    Error: Package: python3-3.7.11-1.ppc (AIX_Toolbox)
    Requires: libnsl.a(shr.o)
    You could try using --skip-broken to work around the problem
    ** Found 9 pre-existing rpmdb problem(s), 'yum check' output follows:
    MySQL-client-3.23.58-2.ppc has missing requires of libnsl_r.a(shr.o)
    curl-7.52.1-1.ppc has missing requires of libcrypto.a(libcrypto.so)
    curl-7.52.1-1.ppc has missing requires of libssl.a(libssl.so)
    python-2.7.10-1.ppc has missing requires of libcrypto.a(libcrypto.so)
    python-2.7.10-1.ppc has missing requires of libnsl.a(shr.o)
    python-2.7.10-1.ppc has missing requires of libssl.a(libssl.so)
    python-2.7.10-1.ppc has missing requires of libtcl8.4.so
    python-2.7.10-1.ppc has missing requires of libtk8.4.so
    python-pycurl-7.19.3-1.ppc has missing requires of libcrypto.a(libcrypto.so)
    root@ptestbox3[/]#

    Thanks.

    ------------------------------
    Gaurav Sood
    ------------------------------



  • 7.  RE: Error while installing/updating the package from Yum

    Posted Fri October 08, 2021 12:58 PM

     

    https://www.ibm.com/support/pages/aix-toolbox-linux-applications-downloads-alpha

    Download all dependencies and resolve all  then install python3    then your samba package

     You can find all rpms from IBM above site ..

     

     

    Thanks,

    Afzal Muhammad

     

    IBM Certified AIX System Administrator AIX 6.1

    IBM Certfired AIX System Administrator AIX 4.3

    IBM Certified WebSphere 6.0 Adminstrator

    Red Had Linux 7 Certified  System Administrator (RHCSA)

    Global pSeries platform services – AIX

    Ford Motor Company,  Dearborn Michigan

    United States of America

    Tel: Cell 1-704-492-0586

    Email: mafzal10@ford.com

     






  • 8.  RE: Error while installing/updating the package from Yum

    Posted Fri October 08, 2021 01:02 PM
    Thanks,

    I am able to install the samba rpm now, but while checking the samba version getting below error:

    root@ptestbox3[/opt]#/opt/freeware/bin/smbstatus
    exec(): 0509-036 Cannot load program /opt/freeware/bin/smbstatus because of the following errors:
    0509-022 Cannot load module /opt/freeware/lib/libsmbconf.so.
    0509-150 Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
    0509-152 Member libiconv.so.2 is not found in archive
    0509-022 Cannot load module smbstatus.
    0509-150 Dependent module /opt/freeware/lib/libsmbconf.so could not be loaded.
    root@ptestbox3[/opt]#

    Installed samba rpm details is as below:

    root@ptestbox3[/]#rpm -qa | grep -i samba
    samba-winbind-4.14.4-2.ppc
    samba-winbind-clients-4.14.4-2.ppc
    samba-client-4.14.4-2.ppc
    samba-libs-4.14.4-2.ppc
    samba-common-4.14.4-2.ppc
    samba-devel-4.14.4-2.ppc
    samba-4.14.4-2.ppc
    root@ptestbox3[/]#



    ------------------------------
    Gaurav Sood
    ------------------------------



  • 9.  RE: Error while installing/updating the package from Yum

    Posted Fri October 08, 2021 01:08 PM
    1. You can try update the rpm database by running below command plus you would need to install all modules which it is complaining cannot load.

    #  /usr/sbin/updtvpkg

     

     

     

    Thanks,

    Afzal Muhammad

     

    IBM Certified AIX System Administrator AIX 6.1

    IBM Certfired AIX System Administrator AIX 4.3

    IBM Certified WebSphere 6.0 Adminstrator

    Red Had Linux 7 Certified  System Administrator (RHCSA)

    Global pSeries platform services – AIX

    Ford Motor Company,  Dearborn Michigan

    United States of America

    Tel: Cell 1-704-492-0586

    Email: mafzal10@ford.com

     






  • 10.  RE: Error while installing/updating the package from Yum

    Posted Fri October 22, 2021 11:56 AM
    Hi Afzal,

    Thanks for the support, can you please shared any doc that can help me to configure the samba on AIX.

    Currently we have samba configuration in such a way that our local user accounts are mapped with ad user and we are using security = SERVER and username map = /var/smb/username.map in the global configuration file


    ------------------------------
    Gaurav Sood
    ------------------------------



  • 11.  RE: Error while installing/updating the package from Yum

    Posted Fri October 22, 2021 01:15 PM

    Hello Gaurav,

    I do not have any document created by me to install samba on AIX.

    Here is the IBM link.. you can get help from it.  Make sure you install all dependent rpm, before you start configuring samba .

    exec(): 0509-036 Cannot load program /opt/freeware/bin/smbstatus because of the following errors:
    0509-022 Cannot load module /opt/freeware/lib/libsmbconf.so.
    0509-150 Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
    0509-152 Member libiconv.so.2 is not found in archive
    0509-022 Cannot load module smbstatus.
    0509-150 Dependent module /opt/freeware/lib/libsmbconf.so could not be loaded.
    root@ptestbox3[/opt]#

     

    https://developer.ibm.com/articles/au-aix_samba/

     

    Thanks,

    Afzal Muhammad

     

    IBM Certified AIX System Administrator AIX 6.1

    IBM Certfired AIX System Administrator AIX 4.3

    IBM Certified WebSphere 6.0 Adminstrator

    Red Had Linux 7 Certified  System Administrator (RHCSA)

    Global pSeries platform services – AIX

    Ford Motor Company,  Dearborn Michigan

    United States of America

    Tel: Cell 1-704-492-0586

    Email: mafzal10@ford.com

     






  • 12.  RE: Error while installing/updating the package from Yum

    Posted Mon October 25, 2021 02:50 AM
    Hi Gaurav,
    First of all use AIX open source forum instead of AIX for getting better attention on AIX toolbox related issues. This forum is for AIX discussion.
    https://ibm.biz/aixoss_forum

    Looks like there is some problem in your installation of packages. 
    Do you have latest libiconv from AIX toolbox ? Also make sure LIBPATH is not set when you use SAMBA. 
    AIX toolbox provides its own libiconv (/opt/freeware/lib/libiconv.a) that is used by AIX toolbox packages and AIX base provide libiconv (/usr/lib/libiconv.a) as well. 
    Looks like in your case libiconv from AIX base is getting used. 
    Please make sure you have latest packages from AIX toolbox and LIBPATH is not set.

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 13.  RE: Error while installing/updating the package from Yum

    Posted Thu October 07, 2021 06:10 AM

    Please check if the procedure described here helps:

    https://www.ibm.com/support/pages/resolving-rpm-libssla-and-libcryptoa-errors

    best regards, Harald



    ------------------------------
    Harald Duvenbeck
    ------------------------------



  • 14.  RE: Error while installing/updating the package from Yum

    Posted Thu October 07, 2021 10:47 AM
    I have followed the given doc, but still having the same issue.

    Is there any way to get single bundle which can have the depended file set.

    ------------------------------
    Gaurav Sood
    ------------------------------