AIX Open Source

 View Only
  • 1.  Using ETCD, startup load failure

    Posted Tue October 20, 2020 12:52 PM

    Wanted to test etcd from  AIX Toolbox for Linux Applications - Downloads alpha which is written in go so also (assumedly need go runtime).

    I'm not our admin on the machine, but had him do the download/installs, but etcd fails to run with following message...

    $ /opt/freeware/bin/etcd
    exec(): 0509-036 Cannot load program etcd because of the following errors:
    0509-130 Symbol resolution failed for etcd because:
    0509-136 Symbol gcbits..DGGpa (number 251) is not exported from
    dependent module /opt/freeware/lib/libgo.a[libgo.so.13].
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command.

    also added /opt/freeware/lib to front of LIBPATH and no difference.

    Also did ar xv /opt/freeware/lib/libgo.a and libgo.so.13 was the version in the archive. 

    Also did dump -Tv /opt/freeware/lib/libgo.a | grep gcbits..DGGpa
    [438] 0x107bafe4 .text wEXP RO Ldef [noIMid] gcbits..DGGpa

    although I'm not sure what wEXP vs EXP means

    Can anyone help on this etcd start up fail?

    The specific links for etcd and go runtime rpms were:
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/kubernetes/etcd-3.3.2-1.aix7.2.ppc.rpm?_ga=2.251383813.265751431.1603115878-786069255.1601487230
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/gcc/libgo-8.3.0-2.aix7.2.ppc.rpm?_ga=2.184815658.265751431.1603115878-786069255.1601487230




    ------------------------------
    Terry
    ------------------------------


  • 2.  RE: Using ETCD, startup load failure

    Posted Wed October 21, 2020 01:14 AM
    Looks like the 64bit version of the gcc-go library is not exporting the symbol ( /opt/freeware/bin/etcd is a 64bit binary)

    # dump -X64 -Tv /opt/freeware/lib/libgo.a | grep DGGpa

    # dump -Tv /opt/freeware/lib/libgo.a | grep DGGpa
    [438] 0x107bafe4 .text wEXP RO Ldef [noIMid] gcbits..DGGpa

    We will check why it is not exported in the recent gcc-go version.

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