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.  yum update of nss broke rpm and yum

    Posted Tue August 13, 2019 12:55 PM

    Originally posted by: LoriB


    After updating nss 3.34.1-2 on AIX 7.2 TL3, rpm and yum would no longer work.  I am posting what I did to fix the issue in case it helps someone else.  


    Could not load program /usr/opt/freeware/bin/rpm: 
    Symbol resolution failed for /opt/freeware/lib/libnssutil3.so because: 
    Symbol PR_GetEnvSecure (number 44) is not exported from dependent 
    module /opt/freeware/lib/libnspr4.so. 
    Examine .loader section symbols with the 'dump -Tv' command.

     

    To fix, I copied the following files from /opt/freeware/lib on a system that hadn't been updated:

    libnss3.a 
    libnssckbi.a 
    libnssdbm3.a 
    libnssutil3.a 

    Then extracted each of the files to make the .so file:

    ar -x $file on each of the .a files 

    then forced re-install of rpm fileset. After that rpm and yum worked again. 
    Per the IBM toolbox site, it does look like an issue with libnspr4.so libraries, and solution was to do a manual install of the same fileset, but my rpm command was broken so I could not do that.  This worked instead.


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: yum update of nss broke rpm and yum

    Posted Wed August 14, 2019 05:42 AM

    Originally posted by: AyappanP


    For the functioning of rpm itself, it requires libraries like libnspr, libnssutil3 ., etc. 

    These libraries are no more in sync with libraries provided by nspr & nss rpm.

    From rpm.rte 4.13.0.8 onwards, the rpm.rte files are getting shipped in a new path "/usr/opt/rpm" and these collisions will be avoided.


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 3.  Re: yum update of nss broke rpm and yum

    Posted Wed August 14, 2019 05:50 AM

    Originally posted by: AyappanP


    And also make sure you have yum-3.4.3-7 rpm installed. 


    #AIX-Open-Source-Software
    #AIXOpenSource