Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  git 2.20.2 conflict with libcurl.a

    Posted Mon June 22, 2020 10:41 AM
    Hello,

    this problem appears to be similar to the one with libiconv. We have this: 

    $ git pull
    Could not load program /opt/freeware/libexec64/git-core/git-remote-https:
    Could not load module /usr/lib/libcurl.a(libcurl.so.4).
    Dependent module /usr/lib/libgssapi_krb5.a(libgssapi_krb5.so) could not be loaded.
    Member libgssapi_krb5.so is not found in archive
    Could not load module git-remote-https.
    Dependent module /usr/lib/libcurl.a(libcurl.so.4) could not be loaded.
    Could not load module .

    ... but this works fine

    $ LIBPATH= git pull

    This subject system has:

    [root@crcoacs1 ~]# locate libcurl.a
    /opt/freeware/lib/libcurl.a
    /opt/freeware/lib64/libcurl.a
    /usr/lib/libcurl.a
    /usr/lib64/libcurl.a
    /usr/share/centrifydc/lib64/libcurl.a

    ... and 
    [mmetts@crcoacs1 oh-token]$ echo $LIBPATH
    /home/db2inst1/sqllib/lib64:/home/db2inst1/sqllib/lib64/gskit:/home/db2inst1/sqllib/lib64/gskit:/usr/lib:/lib

    From our discussion re: the libiconv conflict, I thought this version of git would only look at /opt/freeware/lib ... but apparently you need to hardcode the location for libcurl.a as well, right?

    Thanks,
    Mike


    ------------------------------
    Michael Metts
    ------------------------------

    #AIXOpenSource


  • 2.  RE: git 2.20.2 conflict with libcurl.a

    Posted Mon June 22, 2020 11:22 AM
    As discussed in that thread, only libiconv.a search path is hardcoded and is not affected by LIBPATH.
    Here the problem is with the presence of AIX krb5 filesets in /usr/lib path. We will try to hardcode the path for these libraries also.

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: git 2.20.2 conflict with libcurl.a

    Posted Mon June 22, 2020 11:30 AM
    Edited by Michael Metts Mon June 22, 2020 12:02 PM
    Great.  It's possible that we don't need that files set.  But it appears it would be good to hardcode all the libraries.  Thanks.  ... Actually, it's too hard to determine whether we can live w/o the krb5 file set.  It would very much be best if git only looked at libcurl.a in /opt/freeware/lib just like libiconv.  Thanks.

    ------------------------------
    Michael Metts
    ------------------------------