Topic
  • 35 replies
  • Latest Post - ‏2017-03-08T13:21:25Z by sangameshm
sanket
sanket
20 Posts

Pinned topic yum for AIX Toolbox

‏2016-06-28T13:35:09Z |

yum the rpm package manager is now available for AIX opensource Toolbox.
It allows automatic package installation, updates and dependency management.

For installing yum on AIX
-------------------------

1. Install the rpm.rte with "minimum version" of 4.9.1.3 or greater from ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/INSTALLP/ppc/
     
2. Download and install the rpms from yum_bundle_v1.tar from ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/
   This bundle contains yum and all of it's dependency rpms.

Please go through README-yum from following location for detailed description and known issues of yum on AIX.

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/README-yum

 

 

Updated on 2016-06-28T13:56:57Z at 2016-06-28T13:56:57Z by sanket
  • sanket
    sanket
    20 Posts

    Re: yum for AIX Toolbox

    ‏2016-06-30T05:25:08Z  

    The above is also available at following https site

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/README-yum

  • dieter_mosbach
    dieter_mosbach
    3 Posts

    Re: yum for AIX Toolbox

    ‏2016-10-12T14:04:35Z  

    I tried to install python from yum_bundle_v1:

    root@sps62001_adm:/mnt/linuxsw/aixtoolbox/yum_bundle_v1# rpm -Uvh python*rpm
    error: Failed dependencies:
            libtcl8.4.so is needed by python-2.7.10-1.ppc
            libtk8.4.so is needed by python-2.7.10-1.ppc

    But tcl and tk are already installed with newer version:

    root@sps62001_adm:/mnt/linuxsw/aixtoolbox/yum_bundle_v1# rpm -q tcl tk
    tcl-8.6.3-1.ppc
    tk-8.6.3-1.ppc

     

    Can you help me?

     

  • sanket
    sanket
    20 Posts

    Re: yum for AIX Toolbox

    ‏2016-10-12T14:48:24Z  

    I tried to install python from yum_bundle_v1:

    root@sps62001_adm:/mnt/linuxsw/aixtoolbox/yum_bundle_v1# rpm -Uvh python*rpm
    error: Failed dependencies:
            libtcl8.4.so is needed by python-2.7.10-1.ppc
            libtk8.4.so is needed by python-2.7.10-1.ppc

    But tcl and tk are already installed with newer version:

    root@sps62001_adm:/mnt/linuxsw/aixtoolbox/yum_bundle_v1# rpm -q tcl tk
    tcl-8.6.3-1.ppc
    tk-8.6.3-1.ppc

     

    Can you help me?

     

    tcl/tk is provided by AIX in installp format. Looks like you might have installed them from some other place.

    Please install the AIX provided tcl/tk if they are not already there. You can verify with
    lslpp -l | grep tcl
    and
    rpm -q AIX-rpm --provides | grep tcl

    If it is installed (shows in lslpp) but not showing in AIX-rpm then there is issue in update of AIX-rpm. You can run /usr/sbin/updtvpkg to update AIX rpm virtual package.

  • dieter_mosbach
    dieter_mosbach
    3 Posts

    Re: yum for AIX Toolbox

    ‏2016-10-12T15:41:02Z  

    Thanks, tcl/tk was only installed as rpm.

    I installed also in installp format.

     

    Then  I installed :

    cd /mnt/linuxsw/aixtoolbox/yum_bundle_v1/
    rpm -Uvh python-pycurl-7.19.3-1.aix6.1.ppc.rpm
    rpm -Uvh python-urlgrabber-3.10.1-1.aix6.1.noarch.rpm
    rpm -Uvh python-iniparse-0.4-1.aix6.1.noarch.rpm
    rpm -Uvh pysqlite-1.1.7-1.aix6.1.ppc.rpm
    rpm -Uvh yum-3.4.3-1.aix6.1.noarch.rpm

    extra download:
    rpm -Uvh yum-3.4.3-3.aix6.1.noarch.rpm

     

    but something is missing:

     

    root@sps62001_adm:/mnt/linuxsw/aixtoolbox/yum_bundle_v1# yum
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

            0509-022 Cannot load module /usr/lib/libcurl.a(libcurl.so.4).
            0509-150   Dependent module /usr/lib/libcrypto.a(libcrypto.so.1.0.1) could not be loaded.
            0509-152   Member libcrypto.so.1.0.1 is not found in archive
            0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
            0509-150   Dependent module /usr/lib/libcurl.a(libcurl.so.4) could not be loaded.

    Please install a package which provides this module, or
    verify that the module is installed correctly.

    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.7.10 (default, Jun 22 2016, 05:57:59) [C]

     

    root@sps62001_adm:/mnt/linuxsw/aixtoolbox/yum_bundle_v1#  ar -vt /usr/lib/libcrypto.a
    rwxr-xr-x     0/0     2967588 Jul 24 15:46 2015 libcrypto.so
    rwxr-xr-x     0/0     2256131 Jul 24 15:43 2015 libcrypto.so.0.9.8
    rwxr-xr-x     0/0     2967588 Jul 24 15:45 2015 libcrypto.so.1.0.0

     

    root@sps62001_adm:/mnt/linuxsw/aixtoolbox/yum_bundle_v1# lslpp -w /usr/lib/libcrypto.a
      File                                        Fileset               Type
      ----------------------------------------------------------------------------
      /usr/lib/libcrypto.a                        openssl.base          File

     

    root@sps62001_adm:/mnt/linuxsw/aixtoolbox/yum_bundle_v1# lslpp -Lc openssl.base
    #Package Name:Fileset:Level:State:PTF Id:Fix State:Type:Description:Destination Dir.:Uninstaller:Message Catalog:Message Set:Message Number:Parent:Automatic:EFIX Locked:Install Path:Build Date
    openssl.base:openssl.base:1.0.1.515: : :C: :Open Secure Socket Layer: : : : : : :0:0:/:

     

  • sanket
    sanket
    20 Posts

    Re: yum for AIX Toolbox

    ‏2016-10-13T01:52:32Z  

    Thanks, tcl/tk was only installed as rpm.

    I installed also in installp format.

     

    Then  I installed :

    cd /mnt/linuxsw/aixtoolbox/yum_bundle_v1/
    rpm -Uvh python-pycurl-7.19.3-1.aix6.1.ppc.rpm
    rpm -Uvh python-urlgrabber-3.10.1-1.aix6.1.noarch.rpm
    rpm -Uvh python-iniparse-0.4-1.aix6.1.noarch.rpm
    rpm -Uvh pysqlite-1.1.7-1.aix6.1.ppc.rpm
    rpm -Uvh yum-3.4.3-1.aix6.1.noarch.rpm

    extra download:
    rpm -Uvh yum-3.4.3-3.aix6.1.noarch.rpm

     

    but something is missing:

     

    root@sps62001_adm:/mnt/linuxsw/aixtoolbox/yum_bundle_v1# yum
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

            0509-022 Cannot load module /usr/lib/libcurl.a(libcurl.so.4).
            0509-150   Dependent module /usr/lib/libcrypto.a(libcrypto.so.1.0.1) could not be loaded.
            0509-152   Member libcrypto.so.1.0.1 is not found in archive
            0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
            0509-150   Dependent module /usr/lib/libcurl.a(libcurl.so.4) could not be loaded.

    Please install a package which provides this module, or
    verify that the module is installed correctly.

    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.7.10 (default, Jun 22 2016, 05:57:59) [C]

     

    root@sps62001_adm:/mnt/linuxsw/aixtoolbox/yum_bundle_v1#  ar -vt /usr/lib/libcrypto.a
    rwxr-xr-x     0/0     2967588 Jul 24 15:46 2015 libcrypto.so
    rwxr-xr-x     0/0     2256131 Jul 24 15:43 2015 libcrypto.so.0.9.8
    rwxr-xr-x     0/0     2967588 Jul 24 15:45 2015 libcrypto.so.1.0.0

     

    root@sps62001_adm:/mnt/linuxsw/aixtoolbox/yum_bundle_v1# lslpp -w /usr/lib/libcrypto.a
      File                                        Fileset               Type
      ----------------------------------------------------------------------------
      /usr/lib/libcrypto.a                        openssl.base          File

     

    root@sps62001_adm:/mnt/linuxsw/aixtoolbox/yum_bundle_v1# lslpp -Lc openssl.base
    #Package Name:Fileset:Level:State:PTF Id:Fix State:Type:Description:Destination Dir.:Uninstaller:Message Catalog:Message Set:Message Number:Parent:Automatic:EFIX Locked:Install Path:Build Date
    openssl.base:openssl.base:1.0.1.515: : :C: :Open Secure Socket Layer: : : : : : :0:0:/:

     

    Looks like you have some conflicts.

    Have you install AIX open source RPMs from some other sources than AIX toolbox http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html

    Could you please remove the RPMs installed from other sources and just install the RPMs comes in yum_bundle_v1.

    openssl and libcrypto are part of AIX and they come in installp format please do not install them from any other sources then you will get conflict and same is true for curl.

    Could you please try a fresh setup where no RPM install then install everything from yum_bundle_v1 using "rpm -ivh *"

     

    Thanks

    Sanket

  • dieter_mosbach
    dieter_mosbach
    3 Posts

    Re: yum for AIX Toolbox

    ‏2016-10-13T10:28:55Z  

    We are using rpm-packages from Mr. Perzl (http://www.perzl.org/aix/)

    on more then 100 LPARs for more than 10 years, because IBM was not able to provide basic open source software for AIX in current versions .

    Mr. Perzl wants his packages to be compatible with AIX toolbox. " They are intended to replace 100%-compatible the IBMTM AIX Toolbox for Linux Applications."

    Maybe you could contact him to find a solution for this conflict.

     

  • s859ky
    s859ky
    3 Posts

    Re: yum for AIX Toolbox

    ‏2016-10-28T14:22:49Z  

    I have installed these PHP packages successfully on AIX with "yum install": php.ppc, php-cli.ppc, php-common.ppc, and php-devel.ppc

    I would like to be able to use the PHP SoapClient as described at http://php.net/manual/en/intro.soap.php

    On Ubuntu Linux I install this support by issuing command "apt-get install php7.0-soap"

    Is there a way to install this support in AIX using the pre-built PHP packages, or does PHP need to be built from scratch?

    Steve Zwart

  • jeanM
    jeanM
    1 Post

    Re: yum for AIX Toolbox

    ‏2016-10-31T14:08:49Z  

    Thanks, tcl/tk was only installed as rpm.

    I installed also in installp format.

     

    Then  I installed :

    cd /mnt/linuxsw/aixtoolbox/yum_bundle_v1/
    rpm -Uvh python-pycurl-7.19.3-1.aix6.1.ppc.rpm
    rpm -Uvh python-urlgrabber-3.10.1-1.aix6.1.noarch.rpm
    rpm -Uvh python-iniparse-0.4-1.aix6.1.noarch.rpm
    rpm -Uvh pysqlite-1.1.7-1.aix6.1.ppc.rpm
    rpm -Uvh yum-3.4.3-1.aix6.1.noarch.rpm

    extra download:
    rpm -Uvh yum-3.4.3-3.aix6.1.noarch.rpm

     

    but something is missing:

     

    root@sps62001_adm:/mnt/linuxsw/aixtoolbox/yum_bundle_v1# yum
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

            0509-022 Cannot load module /usr/lib/libcurl.a(libcurl.so.4).
            0509-150   Dependent module /usr/lib/libcrypto.a(libcrypto.so.1.0.1) could not be loaded.
            0509-152   Member libcrypto.so.1.0.1 is not found in archive
            0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
            0509-150   Dependent module /usr/lib/libcurl.a(libcurl.so.4) could not be loaded.

    Please install a package which provides this module, or
    verify that the module is installed correctly.

    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.7.10 (default, Jun 22 2016, 05:57:59) [C]

     

    root@sps62001_adm:/mnt/linuxsw/aixtoolbox/yum_bundle_v1#  ar -vt /usr/lib/libcrypto.a
    rwxr-xr-x     0/0     2967588 Jul 24 15:46 2015 libcrypto.so
    rwxr-xr-x     0/0     2256131 Jul 24 15:43 2015 libcrypto.so.0.9.8
    rwxr-xr-x     0/0     2967588 Jul 24 15:45 2015 libcrypto.so.1.0.0

     

    root@sps62001_adm:/mnt/linuxsw/aixtoolbox/yum_bundle_v1# lslpp -w /usr/lib/libcrypto.a
      File                                        Fileset               Type
      ----------------------------------------------------------------------------
      /usr/lib/libcrypto.a                        openssl.base          File

     

    root@sps62001_adm:/mnt/linuxsw/aixtoolbox/yum_bundle_v1# lslpp -Lc openssl.base
    #Package Name:Fileset:Level:State:PTF Id:Fix State:Type:Description:Destination Dir.:Uninstaller:Message Catalog:Message Set:Message Number:Parent:Automatic:EFIX Locked:Install Path:Build Date
    openssl.base:openssl.base:1.0.1.515: : :C: :Open Secure Socket Layer: : : : : : :0:0:/:

     

    I had same problem. Issue is that you've probably updated curl to latest release.

     

    Issue happened when I ran:

    # yum update

    ---> Package curl.ppc 0:7.44.0-1 will be updated (this one is from yum_bundle)
    ---> Package curl.ppc 0:7.44.0-2 will be an update

     

    After removal of latest curl and installing back the old one everything works again.

     

     

  • TommiSihvo
    TommiSihvo
    3 Posts

    Re: yum for AIX Toolbox

    ‏2016-11-10T19:50:27Z  

    Hi,

     

    Created local repo from AIX Toolbox, and tried to install cloud-init via that; but seems that it has some missing requirements on some python-packages.

    Any plans to fix those..or are those fixed already e.g in Mr. Perlz's repo..?

     

    yum install cloud-init

    Setting up Install Process

    Resolving Dependencies

    --> Running transaction check

    ---> Package cloud-init.ppc 0:0.7.5-4.1 will be installed

    --> Processing Dependency: python-boto >= 2.7 for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-prettytable for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-oauth for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-yaml for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-six for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-cheetah for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-PyYAML for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-pyserial for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-requests for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-argparse for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-jsonpatch for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-xml for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-setuptools for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-configobj for package: cloud-init-0.7.5-4.1.ppc

    --> Running transaction check

    ---> Package cloud-init.ppc 0:0.7.5-4.1 will be installed

    --> Processing Dependency: python-boto >= 2.7 for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-prettytable for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-oauth for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-six for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-requests for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-argparse for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-jsonpatch for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-setuptools for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-configobj for package: cloud-init-0.7.5-4.1.ppc

    ---> Package python-PyYAML.ppc 0:3.11-1 will be installed

    --> Processing Dependency: libyaml >= 0.1.4 for package: python-PyYAML-3.11-1.ppc

    --> Processing Dependency: libyaml.a(libyaml-0.so.2) for package: python-PyYAML-3.11-1.ppc

    ---> Package python-cheetah.ppc 0:2.4.4-2 will be installed

    ---> Package python-pyserial.ppc 0:2.7-1 will be installed

    ---> Package python-xml.ppc 0:0.8.4-1 will be installed

    --> Running transaction check

    ---> Package cloud-init.ppc 0:0.7.5-4.1 will be installed

    --> Processing Dependency: python-boto >= 2.7 for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-prettytable for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-oauth for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-six for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-requests for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-argparse for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-jsonpatch for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-setuptools for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-configobj for package: cloud-init-0.7.5-4.1.ppc

    ---> Package libyaml.ppc 0:0.1.4-2 will be installed

    --> Finished Dependency Resolution

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-six

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-boto >= 2.7

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-argparse

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-configobj

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-setuptools

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-jsonpatch

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-oauth

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-prettytable

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-requests

     You could try using --skip-broken to work around the problem

    ** Found 10 pre-existing rpmdb problem(s), 'yum check' output follows:

    AIX-rpm-7.2.0.0-4.ppc has missing requires of rpm

    AIX-rpm-7.2.0.0-4.ppc has missing requires of bzip2

    AIX-rpm-7.2.0.0-4.ppc has missing requires of gzip

    AIX-rpm-7.2.0.0-4.ppc has missing requires of info

    AIX-rpm-7.2.0.0-4.ppc has missing requires of patch

    AIX-rpm-7.2.0.0-4.ppc has missing requires of popt

    AIX-rpm-7.2.0.0-4.ppc has missing requires of file

    AIX-rpm-7.2.0.0-4.ppc has missing requires of file-libs

    AIX-rpm-7.2.0.0-4.ppc has missing requires of nspr

    AIX-rpm-7.2.0.0-4.ppc has missing requires of nss

     
  • sanket
    sanket
    20 Posts

    Re: yum for AIX Toolbox

    ‏2016-11-15T01:19:33Z  

    Hi,

     

    Created local repo from AIX Toolbox, and tried to install cloud-init via that; but seems that it has some missing requirements on some python-packages.

    Any plans to fix those..or are those fixed already e.g in Mr. Perlz's repo..?

     

    yum install cloud-init

    Setting up Install Process

    Resolving Dependencies

    --> Running transaction check

    ---> Package cloud-init.ppc 0:0.7.5-4.1 will be installed

    --> Processing Dependency: python-boto >= 2.7 for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-prettytable for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-oauth for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-yaml for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-six for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-cheetah for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-PyYAML for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-pyserial for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-requests for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-argparse for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-jsonpatch for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-xml for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-setuptools for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-configobj for package: cloud-init-0.7.5-4.1.ppc

    --> Running transaction check

    ---> Package cloud-init.ppc 0:0.7.5-4.1 will be installed

    --> Processing Dependency: python-boto >= 2.7 for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-prettytable for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-oauth for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-six for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-requests for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-argparse for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-jsonpatch for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-setuptools for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-configobj for package: cloud-init-0.7.5-4.1.ppc

    ---> Package python-PyYAML.ppc 0:3.11-1 will be installed

    --> Processing Dependency: libyaml >= 0.1.4 for package: python-PyYAML-3.11-1.ppc

    --> Processing Dependency: libyaml.a(libyaml-0.so.2) for package: python-PyYAML-3.11-1.ppc

    ---> Package python-cheetah.ppc 0:2.4.4-2 will be installed

    ---> Package python-pyserial.ppc 0:2.7-1 will be installed

    ---> Package python-xml.ppc 0:0.8.4-1 will be installed

    --> Running transaction check

    ---> Package cloud-init.ppc 0:0.7.5-4.1 will be installed

    --> Processing Dependency: python-boto >= 2.7 for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-prettytable for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-oauth for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-six for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-requests for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-argparse for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-jsonpatch for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-setuptools for package: cloud-init-0.7.5-4.1.ppc

    --> Processing Dependency: python-configobj for package: cloud-init-0.7.5-4.1.ppc

    ---> Package libyaml.ppc 0:0.1.4-2 will be installed

    --> Finished Dependency Resolution

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-six

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-boto >= 2.7

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-argparse

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-configobj

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-setuptools

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-jsonpatch

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-oauth

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-prettytable

    Error: Package: cloud-init-0.7.5-4.1.ppc (AIX_Toolbox)

               Requires: python-requests

     You could try using --skip-broken to work around the problem

    ** Found 10 pre-existing rpmdb problem(s), 'yum check' output follows:

    AIX-rpm-7.2.0.0-4.ppc has missing requires of rpm

    AIX-rpm-7.2.0.0-4.ppc has missing requires of bzip2

    AIX-rpm-7.2.0.0-4.ppc has missing requires of gzip

    AIX-rpm-7.2.0.0-4.ppc has missing requires of info

    AIX-rpm-7.2.0.0-4.ppc has missing requires of patch

    AIX-rpm-7.2.0.0-4.ppc has missing requires of popt

    AIX-rpm-7.2.0.0-4.ppc has missing requires of file

    AIX-rpm-7.2.0.0-4.ppc has missing requires of file-libs

    AIX-rpm-7.2.0.0-4.ppc has missing requires of nspr

    AIX-rpm-7.2.0.0-4.ppc has missing requires of nss

     

    Hi,

    Did you download all the packages from AIX toolbox and then built you repository ?

    Because all the dependent packages are available on AIX toolbox.

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/python/

  • TommiSihvo
    TommiSihvo
    3 Posts

    Re: yum for AIX Toolbox

    ‏2016-11-15T05:32:34Z  
    • sanket
    • ‏2016-11-15T01:19:33Z

    Hi,

    Did you download all the packages from AIX toolbox and then built you repository ?

    Because all the dependent packages are available on AIX toolbox.

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/python/

    Thanks Sanket;

     

    I used the wget command from chmod666's instructions:

    http://chmod666.org/index.php/enhance-your-aix-packages-management-with-yum-and-nim-over-http/

    wget -r 
    ftp://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/
    

    So that seems to leave out noarch dir ...would you have some good wget command that would take all needed files?

     

  • sanket
    sanket
    20 Posts

    Re: yum for AIX Toolbox

    ‏2016-11-15T08:39:44Z  

    Thanks Sanket;

     

    I used the wget command from chmod666's instructions:

    http://chmod666.org/index.php/enhance-your-aix-packages-management-with-yum-and-nim-over-http/

    <pre dir="ltr" style="border: 0px; font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 11px; margin-top: 0px; margin-bottom: 1.625em; outline: 0px; padding: 0.75em 1.625em; vertical-align: baseline; line-height: normal; overflow: auto; background-color: rgb(248, 248, 147); color: rgb(56, 95, 56);">wget -r ftp://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/ </pre>

    So that seems to leave out noarch dir ...would you have some good wget command that would take all needed files?

     

    Since that post there were some changes in the AIX toolbox and we have placed RPMs in different directories for better management and for YUM to work for every AIX version.

     

    Please use wget -r https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/
    This should get you all needed RPMs and repodata.


    You should have three repository in your yum.conf
    1. For noarch (RPMs those are not architecture specific)
    2. For ppc (RPMs compiled for ppc but not AIX version specific)
    3. ppc-6.1/ppc-7.1/ppc-7.2 (Depends on your AIX verison)

     

    By the way we have also ported createrepo command for AIX and that is also available on AIX toolbox.

     

    Thanks
    Sanket

     

    Updated on 2016-11-15T08:41:55Z at 2016-11-15T08:41:55Z by sanket
  • TommiSihvo
    TommiSihvo
    3 Posts

    Re: yum for AIX Toolbox

    ‏2016-11-15T08:52:04Z  
    • sanket
    • ‏2016-11-15T08:39:44Z

    Since that post there were some changes in the AIX toolbox and we have placed RPMs in different directories for better management and for YUM to work for every AIX version.

     

    Please use wget -r https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/
    This should get you all needed RPMs and repodata.


    You should have three repository in your yum.conf
    1. For noarch (RPMs those are not architecture specific)
    2. For ppc (RPMs compiled for ppc but not AIX version specific)
    3. ppc-6.1/ppc-7.1/ppc-7.2 (Depends on your AIX verison)

     

    By the way we have also ported createrepo command for AIX and that is also available on AIX toolbox.

     

    Thanks
    Sanket

     

    Will use that  & update my repo right now; Thanks Sanket!

  • sangameshm
    sangameshm
    16 Posts

    Re: yum for AIX Toolbox

    ‏2016-12-01T17:30:17Z  
    • s859ky
    • ‏2016-10-28T14:22:49Z

    I have installed these PHP packages successfully on AIX with "yum install": php.ppc, php-cli.ppc, php-common.ppc, and php-devel.ppc

    I would like to be able to use the PHP SoapClient as described at http://php.net/manual/en/intro.soap.php

    On Ubuntu Linux I install this support by issuing command "apt-get install php7.0-soap"

    Is there a way to install this support in AIX using the pre-built PHP packages, or does PHP need to be built from scratch?

    Steve Zwart

    Hi Steve,

    Newly uploaded php-7.0.13 has the soap supported added.
    This support is included as part of php-7.0.13-1 itself.

    Thanks,
    Sangamesh

  • kharel
    kharel
    3 Posts

    Re: yum for AIX Toolbox

    ‏2016-12-08T19:37:27Z  

    Its great to be able to get yum  on AIX finally! But its already giving me heartache.

     

    After today's VUG session, I was able to get it installed. But after one round of successful yum update I ran into this. I can no longer execute any yum commands because of these library/module issue. I have put the error below. Can someone please assist?

     

    # yum update
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

            0509-022 Cannot load module /usr/lib/libcurl.a(libcurl.so.4).
            0509-150   Dependent module /usr/lib/libldap.a(libldap-2.4.so.2) could not be loaded.
            0509-153   File /usr/lib/libldap.a is not an archive or
                       the file could not be read properly.
            0509-026 System error: Cannot run a file that does not have a valid format.
            0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
            0509-150   Dependent module /usr/lib/libcurl.a(libcurl.so.4) could not be loaded.

    Please install a package which provides this module, or
    verify that the module is installed correctly.

    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.7.10 (default, Jun 22 2016, 05:57:59) [C]

    If you cannot solve this problem yourself, please go to
    the yum faq at:
      http://yum.baseurl.org/wiki/Faq


     # oslevel -s
    7100-04-02-1614

     

    Updated on 2016-12-08T19:38:34Z at 2016-12-08T19:38:34Z by kharel
  • s859ky
    s859ky
    3 Posts

    Re: yum for AIX Toolbox

    ‏2016-12-08T19:48:47Z  

    Hi Steve,

    Newly uploaded php-7.0.13 has the soap supported added.
    This support is included as part of php-7.0.13-1 itself.

    Thanks,
    Sangamesh

    Thank you very much, Sangamesh.

    I can see the support with "php --modules" and can create a new SoapClient object.

    However, I cannot access our sites by SOAP because they are https://xxxxx    The AIX php build doesn't include openssl.
     

    On ubuntu:

    # php -i|grep -i openssl
    SSL Version => OpenSSL/1.0.2g
    openssl
    OpenSSL support => enabled
    OpenSSL Library Version => OpenSSL 1.0.2g  1 Mar 2016
    OpenSSL Header Version => OpenSSL 1.0.2g  1 Mar 2016
    Openssl default config => /usr/lib/ssl/openssl.cnf
    openssl.cafile => no value => no value
    openssl.capath => no value => no value
    Native OpenSSL support => enabled

    On AIX:

    # php -i| grep -i openssl
    OpenSSL support => disabled (install ext/openssl)

     

    Can you please build it with SSL support or suggest how I can add it on my AIX system?

    That would be appreciated.

     

    Regards and thanks,

    Steve

  • sangameshm
    sangameshm
    16 Posts

    Re: yum for AIX Toolbox

    ‏2016-12-09T09:51:46Z  
    • kharel
    • ‏2016-12-08T19:37:27Z

    Its great to be able to get yum  on AIX finally! But its already giving me heartache.

     

    After today's VUG session, I was able to get it installed. But after one round of successful yum update I ran into this. I can no longer execute any yum commands because of these library/module issue. I have put the error below. Can someone please assist?

     

    # yum update
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

            0509-022 Cannot load module /usr/lib/libcurl.a(libcurl.so.4).
            0509-150   Dependent module /usr/lib/libldap.a(libldap-2.4.so.2) could not be loaded.
            0509-153   File /usr/lib/libldap.a is not an archive or
                       the file could not be read properly.
            0509-026 System error: Cannot run a file that does not have a valid format.
            0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
            0509-150   Dependent module /usr/lib/libcurl.a(libcurl.so.4) could not be loaded.

    Please install a package which provides this module, or
    verify that the module is installed correctly.

    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.7.10 (default, Jun 22 2016, 05:57:59) [C]

    If you cannot solve this problem yourself, please go to
    the yum faq at:
      http://yum.baseurl.org/wiki/Faq


     # oslevel -s
    7100-04-02-1614

     

    Hi Kharel,

     

    Good to hear that you are able to install YUM.

    I think  your openldap libraries have changed after it's installation.

    First curl will look for libldap.a in /opt/freeware/lib path, but i think somehow /opt/freeware/lib/libldap.a might have been removed and  /usr/lib/libldap.a isn't a proper archive file.

    Please manually reinstall the openldap-2.4.40-1(https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/openldap/openldap-2.4.40-1.aix6.1.ppc.rpm ) and then retry the yum update.

     

    Thanks,

    Sangamesh

     

  • sangameshm
    sangameshm
    16 Posts

    Re: yum for AIX Toolbox

    ‏2016-12-09T09:53:27Z  
    • s859ky
    • ‏2016-12-08T19:48:47Z

    Thank you very much, Sangamesh.

    I can see the support with "php --modules" and can create a new SoapClient object.

    However, I cannot access our sites by SOAP because they are https://xxxxx    The AIX php build doesn't include openssl.
     

    On ubuntu:

    # php -i|grep -i openssl
    SSL Version => OpenSSL/1.0.2g
    openssl
    OpenSSL support => enabled
    OpenSSL Library Version => OpenSSL 1.0.2g  1 Mar 2016
    OpenSSL Header Version => OpenSSL 1.0.2g  1 Mar 2016
    Openssl default config => /usr/lib/ssl/openssl.cnf
    openssl.cafile => no value => no value
    openssl.capath => no value => no value
    Native OpenSSL support => enabled

    On AIX:

    # php -i| grep -i openssl
    OpenSSL support => disabled (install ext/openssl)

     

    Can you please build it with SSL support or suggest how I can add it on my AIX system?

    That would be appreciated.

     

    Regards and thanks,

    Steve

    Hi Steve,

     

    Okay. We will build php with SSL support and let you know once it's available.

     

    Thanks,

    Sangamesh

  • kharel
    kharel
    3 Posts

    Re: yum for AIX Toolbox

    ‏2016-12-09T14:12:57Z  

    Hi Kharel,

     

    Good to hear that you are able to install YUM.

    I think  your openldap libraries have changed after it's installation.

    First curl will look for libldap.a in /opt/freeware/lib path, but i think somehow /opt/freeware/lib/libldap.a might have been removed and  /usr/lib/libldap.a isn't a proper archive file.

    Please manually reinstall the openldap-2.4.40-1(https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/openldap/openldap-2.4.40-1.aix6.1.ppc.rpm ) and then retry the yum update.

     

    Thanks,

    Sangamesh

     

    Thank you for quick response. I force reinstalled the rpm

    # rpm -ivh /tmp/openldap-2.4.40-1.aix6.1.ppc.rpm --force

     

    xtnim001:/ # rpm -q openldap --last
    1481292451                                    openldap-2.4.40-1 Fri Dec  9 08:07:31 CST 2016

     

    Then I realized that my other tools like wget and sudo are also broken now. Just so you know I had some of the RPMs installed from perzl.org before I installed packages related to yum yesterday.


    xtnim001:/ # yum
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

            0509-022 Cannot load module /usr/lib/libcurl.a(libcurl.so.4).
            0509-150   Dependent module /usr/lib/libldap.a(libldap-2.4.so.2) could not be loaded.
            0509-153   File /usr/lib/libldap.a is not an archive or
                       the file could not be read properly.
            0509-026 System error: Cannot run a file that does not have a valid format.
            0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
            0509-150   Dependent module /usr/lib/libcurl.a(libcurl.so.4) could not be loaded.

    Please install a package which provides this module, or
    verify that the module is installed correctly.

    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.7.10 (default, Jun 22 2016, 05:57:59) [C]

    If you cannot solve this problem yourself, please go to
    the yum faq at:
      http://yum.baseurl.org/wiki/Faq


    xtnim001:/ # wget
    exec(): 0509-036 Cannot load program wget because of the following errors:
            0509-130 Symbol resolution failed for /usr/lib/libssl.a(libssl.so) because:
            0509-136   Symbol EVP_aes_256_gcm (number 191) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol EVP_aes_128_gcm (number 194) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol EVP_aes_256_cbc_hmac_sha1 (number 249) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol EVP_aes_128_cbc_hmac_sha1 (number 250) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_Verify_B_mod_N (number 331) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_Calc_client_key (number 332) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_Calc_A (number 333) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_Calc_x (number 334) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_Calc_u (number 335) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_Verify_A_mod_N (number 336) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_Calc_B (number 337) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_Calc_server_key (number 338) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_get_default_gN (number 339) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_check_known_gN_param (number 340) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_create_verifier_BN (number 341) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-026 System error: Error 0
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.

  • sangameshm
    sangameshm
    16 Posts

    Re: yum for AIX Toolbox

    ‏2016-12-13T08:52:20Z  
    • kharel
    • ‏2016-12-09T14:12:57Z

    Thank you for quick response. I force reinstalled the rpm

    # rpm -ivh /tmp/openldap-2.4.40-1.aix6.1.ppc.rpm --force

     

    xtnim001:/ # rpm -q openldap --last
    1481292451                                    openldap-2.4.40-1 Fri Dec  9 08:07:31 CST 2016

     

    Then I realized that my other tools like wget and sudo are also broken now. Just so you know I had some of the RPMs installed from perzl.org before I installed packages related to yum yesterday.


    xtnim001:/ # yum
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

            0509-022 Cannot load module /usr/lib/libcurl.a(libcurl.so.4).
            0509-150   Dependent module /usr/lib/libldap.a(libldap-2.4.so.2) could not be loaded.
            0509-153   File /usr/lib/libldap.a is not an archive or
                       the file could not be read properly.
            0509-026 System error: Cannot run a file that does not have a valid format.
            0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
            0509-150   Dependent module /usr/lib/libcurl.a(libcurl.so.4) could not be loaded.

    Please install a package which provides this module, or
    verify that the module is installed correctly.

    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.7.10 (default, Jun 22 2016, 05:57:59) [C]

    If you cannot solve this problem yourself, please go to
    the yum faq at:
      http://yum.baseurl.org/wiki/Faq


    xtnim001:/ # wget
    exec(): 0509-036 Cannot load program wget because of the following errors:
            0509-130 Symbol resolution failed for /usr/lib/libssl.a(libssl.so) because:
            0509-136   Symbol EVP_aes_256_gcm (number 191) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol EVP_aes_128_gcm (number 194) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol EVP_aes_256_cbc_hmac_sha1 (number 249) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol EVP_aes_128_cbc_hmac_sha1 (number 250) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_Verify_B_mod_N (number 331) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_Calc_client_key (number 332) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_Calc_A (number 333) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_Calc_x (number 334) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_Calc_u (number 335) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_Verify_A_mod_N (number 336) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_Calc_B (number 337) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_Calc_server_key (number 338) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_get_default_gN (number 339) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_check_known_gN_param (number 340) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-136   Symbol SRP_create_verifier_BN (number 341) is not exported from
                       dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
            0509-026 System error: Error 0
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.

    Hi Kharel,

     

    Sorry for delay, i didn't notice this post.

    For yum to work properly all dependencies should be from the AIX Toolbox.

    Please can you verify that curl & wget are from AIX Toolbox www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html

    Also libcrypto & libssl are part of AIX and they will be installed by default. curl & wget uses the AIX openssl libraries instead of an any separate RPM packages.

    We might see the conflict if we try to mix the packages from different source

     

    Thanks,

    Sangamesh

  • kharel
    kharel
    3 Posts

    Re: yum for AIX Toolbox

    ‏2016-12-13T15:06:46Z  

    Hi Kharel,

     

    Sorry for delay, i didn't notice this post.

    For yum to work properly all dependencies should be from the AIX Toolbox.

    Please can you verify that curl & wget are from AIX Toolbox www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html

    Also libcrypto & libssl are part of AIX and they will be installed by default. curl & wget uses the AIX openssl libraries instead of an any separate RPM packages.

    We might see the conflict if we try to mix the packages from different source

     

    Thanks,

    Sangamesh

    So as per your instructions, I removed and reinstalled rpms again. I was able to get yum working again. Once working, I ran yum update and only package available for update was curl. On updating yum broke again and displayed same behaviour as earlier. I was able to fix it and reproduce the issue. I think there is issue with "7.51.0-1" versions of curl. Your thoughts?

  • sangameshm
    sangameshm
    16 Posts

    Re: yum for AIX Toolbox

    ‏2016-12-14T18:39:33Z  
    • kharel
    • ‏2016-12-13T15:06:46Z

    So as per your instructions, I removed and reinstalled rpms again. I was able to get yum working again. Once working, I ran yum update and only package available for update was curl. On updating yum broke again and displayed same behaviour as earlier. I was able to fix it and reproduce the issue. I think there is issue with "7.51.0-1" versions of curl. Your thoughts?

    curl-7.51.0-1 has a added dependency on openldap (libldap.a) which wasn't case in earlier version.

    Looks like you have /usr/lib/libldap.a installed by some other source, could be AIX ldap installp fileset which is conflicting with curl package.

    As an workaround set the LIBPATH as /opt/freeware/lib:/usr/lib:/lib.

    We will see if we need to rebuild the curl to correct the YUM error if we have libldap.a from some other source.

     

    Thanks,

    Sangamesh

     

  • s859ky
    s859ky
    3 Posts

    Re: yum for AIX Toolbox

    ‏2016-12-29T00:36:04Z  

    Hi Steve,

     

    Okay. We will build php with SSL support and let you know once it's available.

     

    Thanks,

    Sangamesh

    Hi Sangamesh -
        I was able to build PHP 7.1 on AIX with cURL, SOAP, and OpenSSL support. I'm using it as a client only, not a server:
       
    oslevel -s
    7100-04-02-1614
     
    Steps:
     
    1. Installed libxml2, curl-devel, and openldap-devel with yum from the AIX Toolbox.
     
    2. Downloaded php 7.1.0 (Dec 1 2016)
      Configure script:
        #!/bin/ksh
        umask 022
        export PATH=/opt/freeware/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java6/jre/bin:/usr/java6/bin:/usr/local/bin:
        ./configure --enable-soap --with-openssl --with-curl --without-iconv --prefix=/opt/freeware --includedir=/opt/freeware --libdir=/opt/freeware
     
    3.  With same PATH, run make, make test, and make install.  A couple of the 11,000 make tests appeared to loop, but otherwise clean.
     
    4. To make SSL communications work:
        Find out where openssl keeps config files:
      openssl version -d
      OPENSSLDIR: "/var/ssl"
     
      Obtain a cacert.pem from the cURL support site.
      Put the file in /var/ssl and make it world readable.
     
    5. Update /opt/freeware/php.ini to use the certificate bundle in these two lines for SoapClient and REST:
     
      grep cacert.pem php.ini
      curl.cainfo=/var/ssl/cacert.pem
      openssl.cafile=/var/ssl/cacert.pem
     
    6. In a PHP script, a SoapClient works without any SSL adjustments:   "$client = new SoapClient('https://xxxxxxxxx");
     
    7. In a PHP script,  a REST GET works fine as well without any SSL adjustments:       curl_init($service_url);"
     
    I am hoping this is helpful if you are continuing to build PHP 7.1 in the toolbox.
     
    Steve
  • guru111
    guru111
    1 Post

    Re: yum for AIX Toolbox

    ‏2017-01-04T12:04:49Z  
    • s859ky
    • ‏2016-12-29T00:36:04Z
    Hi Sangamesh -
        I was able to build PHP 7.1 on AIX with cURL, SOAP, and OpenSSL support. I'm using it as a client only, not a server:
       
    oslevel -s
    7100-04-02-1614
     
    Steps:
     
    1. Installed libxml2, curl-devel, and openldap-devel with yum from the AIX Toolbox.
     
    2. Downloaded php 7.1.0 (Dec 1 2016)
      Configure script:
        #!/bin/ksh
        umask 022
        export PATH=/opt/freeware/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java6/jre/bin:/usr/java6/bin:/usr/local/bin:
        ./configure --enable-soap --with-openssl --with-curl --without-iconv --prefix=/opt/freeware --includedir=/opt/freeware --libdir=/opt/freeware
     
    3.  With same PATH, run make, make test, and make install.  A couple of the 11,000 make tests appeared to loop, but otherwise clean.
     
    4. To make SSL communications work:
        Find out where openssl keeps config files:
      openssl version -d
      OPENSSLDIR: "/var/ssl"
     
      Obtain a cacert.pem from the cURL support site.
      Put the file in /var/ssl and make it world readable.
     
    5. Update /opt/freeware/php.ini to use the certificate bundle in these two lines for SoapClient and REST:
     
      grep cacert.pem php.ini
      curl.cainfo=/var/ssl/cacert.pem
      openssl.cafile=/var/ssl/cacert.pem
     
    6. In a PHP script, a SoapClient works without any SSL adjustments:   "$client = new SoapClient('https://xxxxxxxxx");
     
    7. In a PHP script,  a REST GET works fine as well without any SSL adjustments:       curl_init($service_url);"
     
    I am hoping this is helpful if you are continuing to build PHP 7.1 in the toolbox.
     
    Steve

    Hello All,

     

    We are facing issue to install yum on AIX 6.1 server.We have downloaded the yum bundle and tried to install but it gives dependencies errors.

    anyone have any idea,how to fix the dependencies issue instead of individual installation.

    Actually I need to install svn client in aix 6.1 but for svn client we are getting more dependencies errors ,so we choose the yum installation first and then we can install svn.

    Please help me to fix the yum installation or svn client installation in aix 6.1 server.

    error: failed dependencies:
            libcrypto.a(libcrypto.so) is needed by curl-7.44.0-1
            libssl.a(libssl.so) is needed by curl-7.44.0-1
            libcrypto.a(libcrypto.so) is needed by python-2.7.10-1
            libssl.a(libssl.so) is needed by python-2.7.10-1
            libtcl8.4.so is needed by python-2.7.10-1
            libtk8.4.so is needed by python-2.7.10-1
            libcrypto.a(libcrypto.so) is needed by python-pycurl-7.19.3-1
            popt <= 1.16 is needed by rpm-4.9.1.3-3
            file-libs <= 5.12 is needed by rpm-4.9.1.3-3
            nss <= 3.14.3 is needed by rpm-4.9.1.3-3
            nspr <= 4.9.5 is needed by rpm-4.9.1.3-3
            lua <= 5.1.5 is needed by rpm-4.9.1.3-3
            liblua.a(liblua-5.1.so) is needed by rpm-4.9.1.3-3
            libmagic.a(libmagic.so.1) is needed by rpm-4.9.1.3-3