AIX Open Source

 View Only
  • 1.  Circular dependency reference with gettext and glibq

    Posted Fri June 18, 2021 07:34 PM
    Hello; this is on AIX 7100-05-08-2114 and RPM is AIX-rpm-7.1.5.33-9.ppc.

    If we try to test install gettext we get:

    # sudo rpm -Uvh --test gettext-0.20.2-1.aix6.1.ppc.rpm
    error: Failed dependencies:
    glib2 >= 2.56.1 is needed by gettext-0.20.2-1.ppc
    libglib-2.0.a(libglib-2.0.so.0) is needed by gettext-0.20.2-1.ppc
    libunistring >= 0.9.9-2 is needed by gettext-0.20.2-1.ppc

    So we take a look at installing glib2 and we get:
    # sudo rpm -Uvh --test glib2-2.56.1-3.aix6.1.ppc.rpm
    error: Failed dependencies:
    gettext >= 0.19.8.1 is needed by glib2-2.56.1-3.ppc

    So if we are reading this correctly gettext requires glib2 and glib2 requires gettext.  How do we get past this?


    ------------------------------
    Ed Stuart
    ------------------------------


  • 2.  RE: Circular dependency reference with gettext and glibq
    Best Answer

    IBM Champion
    Posted Fri June 18, 2021 07:52 PM
    I don't know if this is your only problem, but you can put them both in the same RPM invocation.

    -- 
    Stephen Ulmer

    Sent from a mobile device; please excuse auto-correct silliness.





  • 3.  RE: Circular dependency reference with gettext and glibq

    Posted Mon June 21, 2021 12:54 AM
    gettext is a build time requistite for glib2 but is it needed for runtime need to be investigated. 
    But you can workaround by installing both of them together by specifying them in together in rpm command. 

    # rpm -Uvh gettext-0.20.2-1.aix6.1.ppc.rpm glib2-2.56.1-3.aix6.1.ppc.rpm

    ------------------------------
    SANKET RATHI
    ------------------------------