AIX Open Source

 View Only
  • 1.  install git 2.15 on aix 7.1

    Posted Fri April 27, 2018 07:34 AM

    Originally posted by: tomislak1


    Hi,

    I have to install last git from aix toolbox ( 2.15.0 ) and get stuck on libcrypto.a:

    root@testgit:/home/guest/git2.15.0 $ rpm -ivh git-2.15.0-1.aix6.1.ppc.rpm
    error: failed dependencies:
            curl >= 7.19.7-1 is needed by git-2.15.0-1
            python >= 2.6.2 is needed by git-2.15.0-1
            /usr/bin/python is needed by git-2.15.0-1
            libcrypto.a(libcrypto.so) is needed by git-2.15.0-1
            libcurl.a(libcurl.so.4) is needed by git-2.15.0-1
            libssl.a(libssl.so) is needed by git-2.15.0-1

    root@testgit:/home/guest/git2.15.0 $ rpm -ivh curl-7.58.0-1.aix6.1.ppc.rpm

    error: failed dependencies:
            libssh2 >= 1.8.0-1 is needed by curl-7.58.0-1
            libcrypto.a(libcrypto.so) is needed by curl-7.58.0-1
            liblber.a(liblber-2.4.so.2) is needed by curl-7.58.0-1
            libldap.a(libldap-2.4.so.2) is needed by curl-7.58.0-1
            libssh2.a(libssh2.so.1) is needed by curl-7.58.0-1
            libssl.a(libssl.so) is needed by curl-7.58.0-1

     

    I have from aix packages:

    root@testgit:/home/guest/git2.15.0 $ lslpp -l | grep openssl
      openssl.base             1.0.1.510  COMMITTED  Open Secure Socket Layer
      openssl.man.en_US        1.0.1.510  COMMITTED  Open Secure Socket Layer
      openssl.base             1.0.1.510  COMMITTED  Open Secure Socket Layer

    and from rpm:

    root@testgit:/home/guest/git2.15.0 $ rpm -qa | grep openssl
    openssl-1.0.1p-1

     

     

    I've tryed with and without rpm openssl but message is the same.

    I even tryed to set LIBPATH and nothing:

    root@testgit:/home/guest/git2.15.0 $ echo $LIBPATH
    /opt/freeware/lib64:/opt/freeware/lib

     

    AIX is:

    root@testgit:/home/guest/git2.15.0 $ oslevel -s
    7100-03-04-1441

     

    Any clues?

    Regards



  • 2.  Re: install git 2.15 on aix 7.1

    Posted Wed May 02, 2018 06:42 AM

    Originally posted by: sangameshm


    First, Please run updtvpkg command and then retry installing git.

     

    Couple of other suggestions.

    You could use yum https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/README-yum to install rpm packages which will take care of installing all the dependencies.

    Also if you want to install packages using rpm command manually then you could run single command to install packages copied to directory using "rpm -ivh *"

     

    Thanks,

    Sangamesh



  • 3.  Re: install git 2.15 on aix 7.1

    Posted Wed May 02, 2018 08:30 AM

    Originally posted by: tomislak1


    Hi,

     

    same thing:

    root@testgit:/ $ updtvpkg
    Please wait...
    root@testgit:/home/guest/git2.15.0 $ rpm -ivh git-2.15.0-1.aix6.1.ppc.rpm
    error: failed dependencies:
            curl >= 7.19.7-1 is needed by git-2.15.0-1
            python >= 2.6.2 is needed by git-2.15.0-1
            /usr/bin/python is needed by git-2.15.0-1
            libcrypto.a(libcrypto.so) is needed by git-2.15.0-1
            libcurl.a(libcurl.so.4) is needed by git-2.15.0-1
            libssl.a(libssl.so) is needed by git-2.15.0-1
    root@testgit:/home/guest/git2.15.0 $ rpm -ivh curl-7.58.0-1.aix6.1.ppc.rpm
    error: failed dependencies:
            libssh2 >= 1.8.0-1 is needed by curl-7.58.0-1
            libcrypto.a(libcrypto.so) is needed by curl-7.58.0-1
            liblber.a(liblber-2.4.so.2) is needed by curl-7.58.0-1
            libldap.a(libldap-2.4.so.2) is needed by curl-7.58.0-1
            libssh2.a(libssh2.so.1) is needed by curl-7.58.0-1
            libssl.a(libssl.so) is needed by curl-7.58.0-1

     



  • 4.  Re: install git 2.15 on aix 7.1

    Posted Wed May 02, 2018 08:33 AM

    Originally posted by: tomislak1


    regarding yum, I use it on all redhat like linuxes. Here we doesn't have internet access, and on linux boxes we easily create repo from iso image.

    I don't know is this to the same procedure.

     

    But openssl isn't in aix toolbox for linux ( https://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html ) so I don't know how yum can resolve this dependency and install correct openssl.



  • 5.  Re: install git 2.15 on aix 7.1

    Posted Mon June 11, 2018 03:15 AM

    Originally posted by: sanket


    Sorry for delay in replying. 

    For creating a local repo of AIX RPMs is same as on RedHat.

    You can download all the RPMs from AIX toolbox and can create a repo.

    Other possibility is download or replicate the directory structure and content of https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ and start using that as repository.

    In this way you will get repodata also and you need not to create it again.

     

    Regarding your other question openssl is shipped from base AIX and we do not ship it as RPM.

    We use base AIX openssl only, just AIX user need to make sure they have latest openssl on AIX from AIX web download

     

    Thanks