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.  Freeware package update broke zip

    Posted Thu November 21, 2019 07:43 PM

    Originally posted by: David Bianchi


    Upgrading AIX 7.2 freeware packages using "yum update" last night broke the zip command. System updated three days earlier works fine. Suspect the gcc-related packages are missing library path information that includes /opt/freeware/lib (see diff below).

    # zip
    exec(): 0509-036 Cannot load program zip because of the following errors:
    0509-022 Cannot load module /opt/freeware/lib/libbz2.a(libbz2.so.1).
    0509-150 Dependent module libgcc_s.a(shr.o) could not be loaded.
    0509-022 Cannot load module libgcc_s.a(shr.o).
    0509-026 System error: A file or directory in the path name does not exist.
    0509-022 Cannot load module zip.
    0509-150 Dependent module /opt/freeware/lib/libbz2.a(libbz2.so.1) could not be loaded.

    "LIBPATH=/opt/freeware/lib zip" works.


    Package differences are:

    11,12c11,12
    < gcc-8.1.0-2.ppc
    < gcc-cpp-8.1.0-2.ppc
    ---
    > gcc-8.3.0-1.ppc
    > gcc-cpp-8.3.0-1.ppc
    24c24
    < libgcc-8.1.0-2.ppc
    ---
    > libgcc-8.3.0-1.ppc
    28c28
    < libstdc++-8.1.0-2.ppc
    ---
    > libstdc++-8.3.0-1.ppc


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: Freeware package update broke zip

    Posted Thu November 21, 2019 10:31 PM

    Originally posted by: UGP1_Alan_Collins


    I am having the same issue - however my AIX 7.1 system had no updates to gcc- but did have updates to bzip2. 

     

    My updates:

    Updating   : sudo-1.8.27-3.ppc   
    Updating   : gzip-1.10-1.ppc     
    Updating   : less-551-1.ppc      
    Updating   : db-6.2.38-1.ppc     
    Updating   : bzip2-1.0.8-1.ppc   
    Updating   : ruby-2.6.3-1.ppc    
    Updating   : rsync-3.1.3-4.ppc   
    Updating   : pysqlite-2.8.3-2.ppc

     

    I suspect the issue may be with bzip2? When I downdated bzip2 to 1.0.6-2 it fixed zip for me.

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 3.  Re: Freeware package update broke zip

    Posted Fri November 22, 2019 08:35 AM

    Originally posted by: David Bianchi


    Downgrading bzip2 to 1.0.6-3 fixed my problem as well. Thanks!


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 4.  Re: Freeware package update broke zip

    Posted Fri November 22, 2019 11:39 AM

    Originally posted by: Edward Davignon


    Note: for AIX 7.1, yum upgrade will not upgrade libgfortran-8.3.0-1.aix7.1.ppc.rpm (and gcc packages that depend on it) until ftp://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.1/gcc/repodata is updated.


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 5.  Re: Freeware package update broke zip

    Posted Fri November 22, 2019 10:38 AM

    Originally posted by: AyappanP


    The new bzip2 1.0.8 is built using gcc and the library search path is not properly set during compilation.

    We will fix this and publish a new release soon.


    #AIX-Open-Source-Software
    #AIXOpenSource