Power

 View Only
  • 1.  dnf install gcc missing lib64 libintl.a

    Posted Wed September 20, 2023 06:17 PM

    After installing the latest dnf, dnf install gcc produced the following error:

    -------------------------------------------------------

    Running scriptlet: info-7.0.2-1.ppc                                                                                                                         16/26
    Could not load program /sbin/install-info:
            Dependent module /opt/freeware/lib64/libintl.a(libintl.so.8) could not be loaded.
    Could not load module /opt/freeware/lib64/libintl.a(libintl.so.8).
    System error: No such file or directory
    Please check that /etc/info-dir does exist.

    ------------------------------------------------------

    lib32 has the libintl.so.8 contained in the libintl.a archive

    Where can you pickup the /opt/freeware/lib64/libintl.a ?



    ------------------------------
    Kolin Vance
    ------------------------------


  • 2.  RE: dnf install gcc missing lib64 libintl.a

    Posted Fri September 22, 2023 04:23 PM

    After running DNF upgrade python3, dnf will not run because of the following errors:

    dnf info python3
    Could not load program /opt/freeware/bin/python3.9:
    Symbol resolution failed for /opt/freeware/lib/libpython3.9.a[libpython3.9.so] because:
            Symbol _GLOBAL__AIXI_libintl_so (number 284) is not exported from dependent
              module /usr/opt/rpm/lib/libintl.a[libintl.so.8].
            Symbol _GLOBAL__AIXD_libintl_so (number 285) is not exported from dependent
              module /usr/opt/rpm/lib/libintl.a[libintl.so.8].

    Running just "python3" gives the following errors:

     python3
    Could not load program python3:
    Symbol resolution failed for /opt/freeware/lib/libpython3.9.a[libpython3.9.so] because:
            Symbol _GLOBAL__AIXI_libintl_so (number 284) is not exported from dependent
              module /usr/opt/rpm/lib/libintl.a[libintl.so.8].
            Symbol _GLOBAL__AIXD_libintl_so (number 285) is not exported from dependent
              module /usr/opt/rpm/lib/libintl.a[libintl.so.8].

    Doing a search of /opt for libintl.a

    /opt/freeware/lib/libintl.a

    /usr/opt/rpm/lib/libintl.a
    /opt/freeware/lib64/libintl.a

    An ls -l on both:

    -rw-r--r--    1 root     system       411692 Oct 20 2022 /opt/freeware/lib/libintl.a

    -r-xr-xr-x    1 root     system       452008 Jun 28 2022  /usr/opt/rpm/lib/libintl.a

    -rw-r--r--    1 root     system       217706 Oct 20 2022  /opt/freeware/lib64/libintl.a

    moving /usr/lib/libintl.a to /usr/lib/libintl.a_rpm

    and

    ln -s /opt/freeware/lib/libintl.a /usr/lib/libintl.a

    fixes the dnf problem



    ------------------------------
    Kolin Vance
    ------------------------------