AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  wget not working after yum-update

    Posted Tue April 24, 2018 05:58 AM

    Originally posted by: JankoL


    Hi,

    today I did a "yum update" on one of our servers. The update was fine and without any error. But after that, the "wget" command doesn't work anymore:

    root\> wget
    exec(): 0509-036 Cannot load program wget because of the following errors:
            0509-022 Cannot load module /usr/lib/libssl.a(libssl64.so).
            0509-150   Dependent module /opt/freeware/lib/libcrypto.a(libcrypto64.so.1.0.0) could not be loaded.
            0509-152   Member libcrypto64.so.1.0.0 is not found in archive
            0509-022 Cannot load module wget_64.
            0509-150   Dependent module /usr/lib/libssl.a(libssl64.so) could not be loaded.
            0509-022 Cannot load module .
    

    Even yum itself is not working anymore

    root\> yum update
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:
    
            0509-022 Cannot load module /opt/freeware/lib/libcurl.a(libcurl.so.4).
            0509-150   Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so) could not be loaded.
            0509-152   Member libcrypto.so is not found in archive
            0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
            0509-150   Dependent module /opt/freeware/lib/libcurl.a(libcurl.so.4) could not be loaded.
    
    Please install a package which provides this module, or
    verify that the module is installed correctly.
    
    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.7.13 (default, Jan 16 2017, 14:19:45) [C]
    
    If you cannot solve this problem yourself, please go to
    the yum faq at:
      http://yum.baseurl.org/wiki/Faq
    

    Any idea what might be wrong here?



  • 2.  Re: wget not working after yum-update

    Posted Wed April 25, 2018 07:48 AM

    Originally posted by: JankoL


    Today I tried on a fresh testsystem. I installed the latest rpm.rte and downloaded the latest "yum_bundle.tar". Then I installed yum and after that, it runs fine. I could install and run "bash" for example. Then I did a "yum update":

    root> yum update
    Setting up Update Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package ca-certificates.ppc 0:2016.10.7-2 will be updated
    ---> Package ca-certificates.ppc 0:2017.07.17-1 will be an update
    ---> Package curl.ppc 0:7.52.1-1 will be updated
    ---> Package curl.ppc 0:7.58.0-1 will be an update
    --> Processing Dependency: libssh2 >= 1.8.0-1 for package: curl-7.58.0-1.ppc
    --> Processing Dependency: libgcc_s.a(shr.o) for package: curl-7.58.0-1.ppc
    --> Processing Dependency: liblber.a(liblber-2.4.so.2) for package: curl-7.58.0-1.ppc
    --> Processing Dependency: libssh2.a(libssh2.so.1) for package: curl-7.58.0-1.ppc
    --> Processing Dependency: libldap.a(libldap-2.4.so.2) for package: curl-7.58.0-1.ppc
    ---> Package db.ppc 0:4.8.24-3 will be updated
    ---> Package db.ppc 0:6.2.32-1 will be an update
    ---> Package expect.ppc 0:5.42.1-3 will be updated
    ---> Package expect.ppc 0:5.45-3 will be an update
    ---> Package gdbm.ppc 0:1.8.3-5 will be updated
    ---> Package gdbm.ppc 0:1.12-1 will be an update
    ---> Package gettext.ppc 0:0.19.7-1 will be updated
    ---> Package gettext.ppc 0:0.19.8.1-1 will be an update
    --> Processing Dependency: libncurses.a(libncurses.so.6) for package: gettext-0.19.8.1-1.ppc
    ---> Package glib2.ppc 0:2.14.6-2 will be updated
    ---> Package glib2.ppc 0:2.52.2-1 will be an update
    --> Processing Dependency: libffi >= 3.0.10-1 for package: glib2-2.52.2-1.ppc
    --> Processing Dependency: libffi.a(libffi.so.6) for package: glib2-2.52.2-1.ppc
    ---> Package python.ppc 0:2.7.10-1 will be updated
    ---> Package python.ppc 0:2.7.13-1 will be an update
    --> Processing Dependency: libexpat.a(libexpat.so.1) for package: python-2.7.13-1.ppc
    ---> Package python-devel.ppc 0:2.7.10-1 will be updated
    ---> Package python-devel.ppc 0:2.7.13-1 will be an update
    ---> Package python-pycurl.ppc 0:7.19.3-1 will be updated
    ---> Package python-pycurl.ppc 0:7.43.0-1 will be an update
    --> Processing Dependency: zlib >= 1.2.3-7 for package: python-pycurl-7.43.0-1.ppc
    ---> Package python-tools.ppc 0:2.7.10-1 will be updated
    ---> Package python-tools.ppc 0:2.7.13-1 will be an update
    ---> Package readline.ppc 0:6.1-2 will be updated
    ---> Package readline.ppc 0:7.0-5 will be an update
    --> Processing Dependency: info for package: readline-7.0-5.ppc
    ---> Package tcl.ppc 0:8.4.7-3 will be updated
    ---> Package tcl.ppc 0:8.6.6-2 will be an update
    ---> Package tk.ppc 0:8.4.7-3 will be updated
    ---> Package tk.ppc 0:8.6.6-1 will be an update
    --> Processing Dependency: libXft >= 2.3.2-1 for package: tk-8.6.6-1.ppc
    --> Processing Dependency: fontconfig >= 2.10.2-1 for package: tk-8.6.6-1.ppc
    --> Processing Dependency: libfontconfig.a(libfontconfig.so.1) for package: tk-8.6.6-1.ppc
    --> Processing Dependency: libXft.a(libXft.so.2) for package: tk-8.6.6-1.ppc
    --> Running transaction check
    ---> Package expat.ppc 0:2.2.4-1 will be installed
    ---> Package fontconfig.ppc 0:2.11.95-3 will be installed
    --> Processing Dependency: freetype2 >= 2.0.9 for package: fontconfig-2.11.95-3.ppc
    --> Processing Dependency: libfreetype.a(libfreetype.so.6) for package: fontconfig-2.11.95-3.ppc
    ---> Package info.ppc 0:6.3-1 will be installed
    ---> Package libXft.ppc 0:2.3.2-3waixX11 will be installed
    --> Processing Dependency: libXrender >= 0.9.5 for package: libXft-2.3.2-3waixX11.ppc
    --> Processing Dependency: libXrender.a(libXrender.so.1) for package: libXft-2.3.2-3waixX11.ppc
    ---> Package libffi.ppc 0:3.2.1-1 will be installed
    ---> Package libgcc.ppc 0:6.3.0-1 will be installed
    ---> Package libssh2.ppc 0:1.8.0-1 will be installed
    ---> Package ncurses.ppc 0:6.1-1 will be installed
    --> Processing Dependency: libstdc++.a(libstdc++.so.6) for package: ncurses-6.1-1.ppc
    ---> Package openldap.ppc 0:2.4.45-1 will be installed
    ---> Package zlib.ppc 0:1.2.11-1 will be installed
    --> Running transaction check
    ---> Package freetype2.ppc 0:2.8-1 will be installed
    ---> Package libXrender.ppc 0:0.9.8-1waixX11 will be installed
    ---> Package libstdc++.ppc 0:6.3.0-1 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ==================================================================================================================================
     Package                          Arch                 Version                           Repository                          Size
    ==================================================================================================================================
    Updating:
     ca-certificates                  ppc                  2017.07.17-1                      AIX_Toolbox_PPC                    191 k
     curl                             ppc                  7.58.0-1                          AIX_Toolbox_PPC                    1.3 M
     db                               ppc                  6.2.32-1                          AIX_Toolbox_PPC                    6.9 M
     expect                           ppc                  5.45-3                            AIX_Toolbox_PPC                    288 k
     gdbm                             ppc                  1.12-1                            AIX_Toolbox_PPC                    190 k
     gettext                          ppc                  0.19.8.1-1                        AIX_Toolbox_PPC                    9.3 M
     glib2                            ppc                  2.52.2-1                          AIX_Toolbox_PPC                     29 M
     python                           ppc                  2.7.13-1                          AIX_Toolbox_PPC                     20 M
     python-devel                     ppc                  2.7.13-1                          AIX_Toolbox_PPC                     11 k
     python-pycurl                    ppc                  7.43.0-1                          AIX_Toolbox_PPC                    243 k
     python-tools                     ppc                  2.7.13-1                          AIX_Toolbox_PPC                     12 k
     readline                         ppc                  7.0-5                             AIX_Toolbox_PPC                    1.5 M
     tcl                              ppc                  8.6.6-2                           AIX_Toolbox_PPC                    7.8 M
     tk                               ppc                  8.6.6-1                           AIX_Toolbox_PPC                    5.6 M
    Installing for dependencies:
     expat                            ppc                  2.2.4-1                           AIX_Toolbox_PPC                    511 k
     fontconfig                       ppc                  2.11.95-3                         AIX_Toolbox_PPC                    1.4 M
     freetype2                        ppc                  2.8-1                             AIX_Toolbox_PPC                    1.9 M
     info                             ppc                  6.3-1                             AIX_Toolbox_PPC                    563 k
     libXft                           ppc                  2.3.2-3waixX11                    AIX_Toolbox_PPC                    719 k
     libXrender                       ppc                  0.9.8-1waixX11                    AIX_Toolbox_PPC                    153 k
     libffi                           ppc                  3.2.1-1                           AIX_Toolbox_PPC                     43 k
     libgcc                           ppc                  6.3.0-1                           AIX_Toolbox_PPC71                  932 k
     libssh2                          ppc                  1.8.0-1                           AIX_Toolbox_PPC                    741 k
     libstdc++                        ppc                  6.3.0-1                           AIX_Toolbox_PPC71                   12 M
     ncurses                          ppc                  6.1-1                             AIX_Toolbox_PPC                    1.9 M
     openldap                         ppc                  2.4.45-1                          AIX_Toolbox_PPC                    4.3 M
     zlib                             ppc                  1.2.11-1                          AIX_Toolbox_PPC                    174 k
    
    Transaction Summary
    ==================================================================================================================================
    Install      13 Packages
    Upgrade      14 Packages
    
    Total download size: 108 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/27): ca-certificates-2017.07.17-1.aix6.1.ppc.rpm                                                        | 191 kB  00:00:00
    (2/27): curl-7.58.0-1.aix6.1.ppc.rpm                                                                       | 1.3 MB  00:00:00
    (3/27): db-6.2.32-1.aix6.1.ppc.rpm                                                                         | 6.9 MB  00:00:00
    (4/27): expat-2.2.4-1.aix6.1.ppc.rpm                                                                       | 511 kB  00:00:00
    (5/27): expect-5.45-3.aix6.1.ppc.rpm                                                                       | 288 kB  00:00:00
    (6/27): fontconfig-2.11.95-3.aix6.1.ppc.rpm                                                                | 1.4 MB  00:00:00
    (7/27): freetype2-2.8-1.aix6.1.ppc.rpm                                                                     | 1.9 MB  00:00:00
    (8/27): gdbm-1.12-1.aix6.1.ppc.rpm                                                                         | 190 kB  00:00:00
    (9/27): gettext-0.19.8.1-1.aix6.1.ppc.rpm                                                                  | 9.3 MB  00:00:00
    (10/27): glib2-2.52.2-1.aix6.1.ppc.rpm                                                                     |  29 MB  00:00:00
    (11/27): info-6.3-1.aix6.1.ppc.rpm                                                                         | 563 kB  00:00:00
    (12/27): libXft-2.3.2-3waixX11.aix6.1.ppc.rpm                                                              | 719 kB  00:00:00
    (13/27): libXrender-0.9.8-1waixX11.aix6.1.ppc.rpm                                                          | 153 kB  00:00:00
    (14/27): libffi-3.2.1-1.aix6.1.ppc.rpm                                                                     |  43 kB  00:00:00
    (15/27): libgcc-6.3.0-1.aix7.1.ppc.rpm                                                                     | 932 kB  00:00:00
    (16/27): libssh2-1.8.0-1.aix6.1.ppc.rpm                                                                    | 741 kB  00:00:00
    (17/27): libstdcplusplus-6.3.0-1.aix7.1.ppc.rpm                                                            |  12 MB  00:00:00
    (18/27): ncurses-6.1-1.aix6.1.ppc.rpm                                                                      | 1.9 MB  00:00:00
    (19/27): openldap-2.4.45-1.aix6.1.ppc.rpm                                                                  | 4.3 MB  00:00:00
    (20/27): python-2.7.13-1.aix6.1.ppc.rpm                                                                    |  20 MB  00:00:00
    (21/27): python-devel-2.7.13-1.aix6.1.ppc.rpm                                                              |  11 kB  00:00:00
    (22/27): python-pycurl-7.43.0-1.aix6.1.ppc.rpm                                                             | 243 kB  00:00:00
    (23/27): python-tools-2.7.13-1.aix6.1.ppc.rpm                                                              |  12 kB  00:00:00
    (24/27): readline-7.0-5.aix6.1.ppc.rpm                                                                     | 1.5 MB  00:00:00
    (25/27): tcl-8.6.6-2.aix6.1.ppc.rpm                                                                        | 7.8 MB  00:00:00
    (26/27): tk-8.6.6-1.aix6.1.ppc.rpm                                                                         | 5.6 MB  00:00:00
    (27/27): zlib-1.2.11-1.aix6.1.ppc.rpm                                                                      | 174 kB  00:00:00
    ----------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                              34 MB/s | 108 MB     00:03
    Running Transaction Check
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing : libgcc-6.3.0-1.ppc                                                                                            1/41
      Installing : zlib-1.2.11-1.ppc                                                                                             2/41
      Installing : freetype2-2.8-1.ppc                                                                                           3/41
      Updating   : tcl-8.6.6-2.ppc                                                                                               4/41
      Installing : libffi-3.2.1-1.ppc                                                                                            5/41
      Installing : expat-2.2.4-1.ppc                                                                                             6/41
      Installing : fontconfig-2.11.95-3.ppc                                                                                      7/41
      Installing : libssh2-1.8.0-1.ppc                                                                                           8/41
      Installing : openldap-2.4.45-1.ppc                                                                                         9/41
    3004-686 Group "ldap" does not exist.
      Installing : libstdc++-6.3.0-1.ppc                                                                                        10/41
      Installing : ncurses-6.1-1.ppc                                                                                            11/41
      Updating   : glib2-2.52.2-1.ppc                                                                                           12/41
      Updating   : gettext-0.19.8.1-1.ppc                                                                                       13/41
      Installing : info-6.3-1.ppc                                                                                               14/41
    Please check that /etc/info-dir does exist.
    You might have to rename it from /etc/info-dir.rpmsave to /etc/info-dir.
      Updating   : readline-7.0-5.ppc                                                                                           15/41
      Updating   : gdbm-1.12-1.ppc                                                                                              16/41
      Updating   : python-2.7.13-1.ppc                                                                                          17/41
      Installing : libXrender-0.9.8-1waixX11.ppc                                                                                18/41
      Installing : libXft-2.3.2-3waixX11.ppc                                                                                    19/41
      Updating   : tk-8.6.6-1.ppc                                                                                               20/41
      Updating   : ca-certificates-2017.07.17-1.ppc                                                                             21/41
      Updating   : curl-7.58.0-1.ppc                                                                                            22/41
      Updating   : python-pycurl-7.43.0-1.ppc                                                                                   23/41
      Updating   : expect-5.45-3.ppc                                                                                            24/41
      Updating   : python-devel-2.7.13-1.ppc                                                                                    25/41
      Updating   : python-tools-2.7.13-1.ppc                                                                                    26/41
      Updating   : db-6.2.32-1.ppc                                                                                              27/41
      Cleanup    : python-pycurl-7.19.3-1.ppc                                                                                   28/41
      Cleanup    : curl-7.52.1-1.ppc                                                                                            29/41
      Cleanup    : python-tools-2.7.10-1.ppc                                                                                    30/41
      Cleanup    : glib2-2.14.6-2.ppc                                                                                           31/41
      Cleanup    : python-devel-2.7.10-1.ppc                                                                                    32/41
      Cleanup    : python-2.7.10-1.ppc                                                                                          33/41
      Cleanup    : db-4.8.24-3.ppc                                                                                              34/41
      Cleanup    : gdbm-1.8.3-5.ppc                                                                                             35/41
      Cleanup    : readline-6.1-2.ppc                                                                                           36/41
      Cleanup    : gettext-0.19.7-1.ppc                                                                                         37/41
    Ignore the error about AIX-rpm dependency since the older libintl.a            is already preserved and will be reverted back
    Non-fatal POSTUN scriptlet failure in rpm package gettext-0.19.7-1.ppc
      Cleanup    : ca-certificates-2016.10.7-2.ppc                                                                              38/41
    cp: /opt/freeware/lib/libintl.a: Cannot open or remove a file containing a running program.
    ln: 0653-421 /usr/lib/libintl.a exists.
        Specify -f to remove /usr/lib/libintl.a before linking.
    warning: %postun(gettext-0.19.7-1.ppc) scriptlet failed, exit status 1
      Cleanup    : tcl-8.4.7-3.ppc                                                                                              39/41
      Cleanup    : expect-5.42.1-3.ppc                                                                                          40/41
      Cleanup    : tk-8.4.7-3.ppc                                                                                               41/41
    
    Dependency Installed:
      expat.ppc 0:2.2.4-1              fontconfig.ppc 0:2.11.95-3           freetype2.ppc 0:2.8-1      info.ppc 0:6.3-1
      libXft.ppc 0:2.3.2-3waixX11      libXrender.ppc 0:0.9.8-1waixX11      libffi.ppc 0:3.2.1-1       libgcc.ppc 0:6.3.0-1
      libssh2.ppc 0:1.8.0-1            libstdc++.ppc 0:6.3.0-1              ncurses.ppc 0:6.1-1        openldap.ppc 0:2.4.45-1
      zlib.ppc 0:1.2.11-1
    
    Updated:
      ca-certificates.ppc 0:2017.07.17-1    curl.ppc 0:7.58.0-1             db.ppc 0:6.2.32-1              expect.ppc 0:5.45-3
      gdbm.ppc 0:1.12-1                     gettext.ppc 0:0.19.8.1-1        glib2.ppc 0:2.52.2-1           python.ppc 0:2.7.13-1
      python-devel.ppc 0:2.7.13-1           python-pycurl.ppc 0:7.43.0-1    python-tools.ppc 0:2.7.13-1    readline.ppc 0:7.0-5
      tcl.ppc 0:8.6.6-2                     tk.ppc 0:8.6.6-1
    
    Complete!
    

    After this update, yum itself is broken again:

    root> yum list
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:
    
            0509-130 Symbol resolution failed for /opt/freeware/lib/libcurl.a(libcurl.so.4) because:
            0509-136   Symbol SSL_get0_alpn_selected (number 359) is not exported from
                       dependent module /usr/lib/libssl.a(libssl.so).
            0509-136   Symbol SSL_CTX_set_alpn_protos (number 360) is not exported from
                       dependent module /usr/lib/libssl.a(libssl.so).
            0509-136   Symbol SSL_COMP_free_compression_methods (number 369) is not exported from
                       dependent module /usr/lib/libssl.a(libssl.so).
            0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
            0509-026 System error: Cannot run a file that does not have a valid format.
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.
    
    Please install a package which provides this module, or
    verify that the module is installed correctly.
    
    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.7.13 (default, Oct 17 2017, 05:37:56) [C]
    
    If you cannot solve this problem yourself, please go to
    the yum faq at:
      http://yum.baseurl.org/wiki/Faq
    

     



  • 3.  Re: wget not working after yum-update

    Posted Wed April 25, 2018 07:55 AM

    Originally posted by: sangameshm


    Hi Janko,

     

    Please update openssl to latest version which should solve the yum issue.

    https://www-01.ibm.com/marketing/iwm/iwm/web/reg/download.do?source=aixbp&lang=en_US&S_PKG=openssl&cp=UTF-8&dlmethod=http

     

    For the first issue you reported on wget.

    You had any LIBPATH set ?

     

    Thanks,

    Sangamesh



  • 4.  Re: wget not working after yum-update

    Posted Wed May 02, 2018 12:31 AM

    Originally posted by: JankoL


    Hi Sangamesh,

    updating openssl to 1.0.1.1100 solved the yum problem on out test system. Tanks!

    The other one with the "wget & yum problem" was resolved by removing some duplicate "*ssl" packages. LIBPATH is/was not set on both systems.

    Regards,
    Janko

    P.S.: Sorry for the delay, I had some issues with the spam filter in this forum which didn't let me post my answer.