AIX

AIX

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

 View Only
  • 1.  AIX and GIT repository software

    Posted Wed September 14, 2016 03:32 PM

    Originally posted by: Bryan B


    Hello everyone.  I am fairly new to AIX but I was wondering if anyone has successfully been able to install the GIT repository software compiled and installed on AIX 7.1.0.0?

    I have been trying, but it seems to need a lot of dependencies and things that I cannot find or not sure where to get them.

    If someone has, please let me know how/what you did to install it.

    Thanks



  • 2.  Re: AIX and GIT repository software

    Posted Wed September 21, 2016 05:24 AM

    Originally posted by: MattDulson


    Hi Bryan,

    yes I have the git-2.1.3-1 rpm installed OK on AIX 7.1

    You are correct, there are lots of pre-reqs (and pre-reqs of pre-reqs...)

    I did this before the yum functionality for AIX became available, which should help in future rpm installs, and may help you here.

    Failing that then although it's a pain, then your best bet is to download the pre-reqs manually from the IBM "AIX Toolbox for Linux Applications" site http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html

    (which has recently been updated) and Michael Perlz's excellent site, http://www.perzl.org/aix/

    There is a method to download all the pre-reqs for an rpm from this site, see this great article: https://www.ibm.com/developerworks/community/blogs/aixpert/entry/open_source_bootstrap_on_aix_rpm_dependencies_from_hell_fixed?lang=en

    Good luck

    Matt



  • 3.  Re: AIX and GIT repository software

    Posted Mon May 22, 2017 05:17 AM

    Originally posted by: BhagwanLakkakula


    Hi Bryan,

    Can u share me link of GIT for AIX 7.1.



  • 4.  Re: AIX and GIT repository software

    Posted Mon May 22, 2017 04:25 PM

    Originally posted by: Bryan B


    You should be able to get it here.

    http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html

    You will need to first install the YUM package for AIX.  Then you can use YUM to install the GIT package.



  • 5.  Re: AIX and GIT repository software

    Posted Thu January 11, 2018 07:36 PM

    Originally posted by: salamonindia


    Hi Bryan,

    Thanks to see your post.

    I have installed GIT in my AIX box. Through putty I am able to do the following successfully.

    1) git clone

    2) git commit and all the git commands successfully.

    But at the same time when I am using bamboo - continuous integration tool which is doing the same in automated way( git clone, git push , git commit ...) all the commands through bamboo instead of putty.

    When I run I am getting like below error:

    Could not load program /usr/bin/git:
              Dependent module /usr/lib/libcrypto.a(libcrypto.so.1.0.2) could not be loaded.
     

            Member libcrypto.so.1.0.2 is not found in archive

     

     

     

    So please help me out to fix this issue, since my build get fails when I run this build.

     

    Please reply me waiting for your kind response.



  • 6.  Re: AIX and GIT repository software

    Posted Fri January 12, 2018 03:00 PM

    Originally posted by: Bryan B


    Hello.  I am not familiar with "bamboo" but it sounds like it needs the files for secure connection.  libcrypto is a package that is provided by OpenSSL.  Make sure that OpenSSL is installed.

    I believe that you can install OpenSSL using the same yum repository that you used to install GIT.

     

    Let me know if that works for you.



  • 7.  Re: AIX and GIT repository software

    Posted Sat March 24, 2018 05:54 AM

    Originally posted by: killerid


    Apparently this only works if you don't use IDS LDAP, which I have installed everywhere.

     

    [myhostname] /usr/local/bin # git push -u origin master
    exec(): 0509-036 Cannot load program /opt/freeware/libexec/git-core/git-remote-https because of the following errors:
            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 git-remote-https.
            0509-150   Dependent module /usr/lib/libcurl.a(libcurl.so.4) could not be loaded.
            0509-022 Cannot load module .
    [myhostname] /usr/local/bin # git push -u origin master
    [myhostname] /usr/local/bin # ls -l /usr/lib/libcurl*  
    lrwxrwxrwx    1 root     system           32 Mar 24 05:41 /usr/lib/libcurl.a -> ../../opt/freeware/lib/libcurl.a
    [myhostname] /usr/local/bin # ls -l /usr/lib/libldap*
    lrwxrwxrwx    1 root     system           35 Dec 29 10:26 /usr/lib/libldap.a -> /opt/IBM/ldap/V6.4/lib/libidsldap.a
    lrwxrwxrwx    1 root     system           40 Dec 29 10:26 /usr/lib/libldapiconv.a -> /opt/IBM/ldap/V6.4/lib/libidsldapiconv.a
    [myhostname] /usr/local/bin #



  • 8.  Re: AIX and GIT repository software

    Posted Thu September 22, 2016 01:36 AM

    Originally posted by: sanket


    Hi Bryan,

     

    git and all its dependencies are available at AIX toolbox " http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html".

    For ease of use we have also made YUM available for AIX.

    With YUM you need not to worry about the dependencies of any open source tool available on AIX toolbox it will automatically resolve the dependencies and install them for you.

    I have posted about YUM for AIX toolbox on the AIX and AIX Open Source forum. Please have a look at the post and

    https://www.ibm.com/developerworks/community/forums/html/topic?id=7b40a6b0-35cc-4deb-87fe-72824fbd3170&ps=25

     

    We have an AIX open source forum for toolbox and open source software related topics.

    https://www.ibm.com/developerworks/community/forums/html/forum?id=2eb0f36d-9534-471b-8b27-c21e6c5b9b2b

     

    Thanks

    Sanket



  • 9.  Re: AIX and GIT repository software

    Posted Wed October 12, 2016 06:30 PM

    Originally posted by: Bryan B


    Hi Sanket and Matt.  Thanks for the reply.  I was able to get it setup and working on AIX using your directions.

    Thanks a bunch.



  • 10.  Re: AIX and GIT repository software

    Posted Wed January 09, 2019 01:50 AM

    Originally posted by: CTSUnix


    Dear All,

     

    I am also facing similar library error on my AIX system (7.1.0.0) and i have installed all dependent package successfully. 

     

    #git --version
    git version 2.18.0

     

    But when I am running below command, i getting library error

    #/opt/freeware/libexec64/git-core/git-remote-http

    exec(): 0509-036 Cannot load program /opt/freeware/libexec64/git-core/git-remote-http because of the following errors:
            0509-130 Symbol resolution failed for /opt/freeware/lib64/libldap.a[libldap-2.4.so.2] because:
            0509-136   Symbol strcmp (number 136) is not exported from
                       dependent module /usr/lib/libcrypto.a[libcrypto.so.1.0.2].
            0509-136   Symbol strncpy (number 162) is not exported from
                       dependent module /usr/lib/libcrypto.a[libcrypto.so.1.0.2].
            0509-136   Symbol strcpy (number 170) is not exported from
                       dependent module /usr/lib/libcrypto.a[libcrypto.so.1.0.2].
            0509-136   Symbol strcat (number 182) is not exported from
                       dependent module /usr/lib/libcrypto.a[libcrypto.so.1.0.2].
            0509-026 System error: Error 0
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.

     

     



  • 11.  Re: AIX and GIT repository software

    Posted Wed January 09, 2019 02:33 AM

    Originally posted by: AyappanP


    It's not a AIX Toolbox openldap. Please check it.