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
Expand all | Collapse all

iperf3 fails install for missing libsctp.a even when installed

  • 1.  iperf3 fails install for missing libsctp.a even when installed

    Posted Wed February 28, 2018 02:29 PM

    Originally posted by: KiloBravo


    Two different systems - one AIX 7.2.2.1, the other AIX 7.1.5.1

    Initially failed to install because bos.net.sctp was not installed (appears to be optional fileset, I can't find any production servers with it). 

    Installed fileset from OS repo (NIM server) ... rpm still fails to install for a "missing library" that is installed.

     

    # oslevel -s  
    7200-02-01-1731
    # yum install iperf3
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package iperf3.ppc 0:3.2-1 will be installed
    --> Processing Dependency: libsctp.a(shr.o) for package: iperf3-3.2-1.ppc
    --> Finished Dependency Resolution
    Error: Package: iperf3-3.2-1.ppc (AIX_Toolbox)
               Requires: libsctp.a(shr.o)

     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    # lslpp -qLc bos.net.sctp
    bos.net:bos.net.sctp:7.2.2.0: : :C: :Stream Control Transmission Protocol : : : : : : :0:0:/:1731
    # ls -al /usr/lib/libsctp.*
    -r-xr-xr-x    1 bin      bin           12016 Aug 15 2017  /usr/lib/libsctp.a
    # ar -tvXany /usr/lib/libsctp.a
    rwxr-x---   300/300     4891 Aug 15 12:42 2017 shr.o
    rwxr-x---   300/300     5651 Aug 15 12:42 2017 shr_64.o

    # rpm -Va --nofiles --nodigest
    Unsatisfied dependencies for AIX-rpm-7.2.2.0-6.ppc:
            file is needed by (installed) AIX-rpm-7.2.2.0-6.ppc
            file-libs is needed by (installed) AIX-rpm-7.2.2.0-6.ppc
            gzip is needed by (installed) AIX-rpm-7.2.2.0-6.ppc
            lua is needed by (installed) AIX-rpm-7.2.2.0-6.ppc
            nspr is needed by (installed) AIX-rpm-7.2.2.0-6.ppc
            nss is needed by (installed) AIX-rpm-7.2.2.0-6.ppc
            popt is needed by (installed) AIX-rpm-7.2.2.0-6.ppc
            rpm is needed by (installed) AIX-rpm-7.2.2.0-6.ppc
    /* all of these appear to be filesets contained withing AIX-RPM but are not RPM entries */

    # rpm -ivh --nodeps /export/yum/ppc/iperf3/iperf3-3.2-1.aix6.1.ppc.rpm

    Preparing...                          ################################# [100%]
    Updating / installing...
       1:iperf3-3.2-1                     ################################# [100%]
    # ldd /opt/freeware/bin/iperf3
    /opt/freeware/bin/iperf3 needs:
             /usr/lib/libc.a(shr_64.o)
             /opt/freeware/lib64/libiperf.a(libiperf.so.0)
             /unix
             /usr/lib/libcrypt.a(shr_64.o)
             /opt/freeware/lib64/libgcc_s.a(shr.o)
             /usr/lib/libcrypto.a(libcrypto64.so)
             /usr/lib/libsctp.a(shr_64.o)

     

    # oslevel -s  
    7100-05-01-1731
    # yum install iperf3
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package iperf3.ppc 0:3.2-1 will be installed
    --> Processing Dependency: libsctp.a(shr.o) for package: iperf3-3.2-1.ppc
    --> Finished Dependency Resolution
    Error: Package: iperf3-3.2-1.ppc (AIX_Toolbox)
               Requires: libsctp.a(shr.o)

     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    # lslpp -qLc bos.net.sctp
    bos.net:bos.net.sctp:7.1.5.0: : :C: :Stream Control Transmission Protocol : : : : : : :0:0:/:1731
    # ls -al /usr/lib/libsctp.*
    -r-xr-xr-x    1 bin      bin           11984 Aug 22 2017  /usr/lib/libsctp.a

    # ar -tvXany /usr/lib/libsctp.a
    rwxr-x---   300/300     4901 Aug 22 08:08 2017 shr.o
    rwxr-x---   300/300     5523 Aug 22 08:08 2017 shr_64.o

    # rpm -Va --nofiles --nodigest
    Unsatisfied dependencies for AIX-rpm-7.1.5.0-9.ppc:
            file is needed by (installed) AIX-rpm-7.1.5.0-9.ppc
            file-libs is needed by (installed) AIX-rpm-7.1.5.0-9.ppc
            gzip is needed by (installed) AIX-rpm-7.1.5.0-9.ppc
            lua is needed by (installed) AIX-rpm-7.1.5.0-9.ppc
            nspr is needed by (installed) AIX-rpm-7.1.5.0-9.ppc
            nss is needed by (installed) AIX-rpm-7.1.5.0-9.ppc
            popt is needed by (installed) AIX-rpm-7.1.5.0-9.ppc
            rpm is needed by (installed) AIX-rpm-7.1.5.0-9.ppc
    /* all of these appear to be filesets contained withing AIX-RPM but are not RPM entries */

    # rpm -ivh --nodeps /var/tmp/iperf3-3.2-1.aix6.1.ppc.rpm
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:iperf3-3.2-1                     ################################# [100%]
    # ldd /opt/freeware/bin/iperf3
    /opt/freeware/bin/iperf3 needs:
             /usr/lib/libc.a(shr_64.o)
             /opt/freeware/lib64/libiperf.a(libiperf.so.0)
             /unix
             /usr/lib/libcrypt.a(shr_64.o)
             /opt/freeware/lib64/libgcc_s.a(shr.o)
             /usr/lib/libcrypto.a(libcrypto64.so)
             /usr/lib/libsctp.a(shr_64.o)

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: iperf3 fails install for missing libsctp.a even when installed

    Posted Thu March 01, 2018 01:07 AM

    Originally posted by: AyappanP


    You need to run "updtvpkg" command whenever you install rte/installp filesets. That way rpm database will get updated. 


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 3.  Re: iperf3 fails install for missing libsctp.a even when installed

    Posted Tue March 06, 2018 05:25 PM

    Originally posted by: KiloBravo


    So - this was a command I was unaware of, and it seems to resolve the issue nicely.  But where is this documented (other than ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/FAQ.txt - which I only just found today)?


    #AIX-Open-Source-Software
    #AIXOpenSource