AIX Open Source


Operating Systems

The core of your mission-critical workloads: AIX, IBM i, and Enterprise Linux


ISV Solutions

Stay up to date with key capabilities running on POWER such as SAP

Business Continuity

Learn how to keep critical processes running and adapt quickly with PowerHA


Power Security

Protect your most sensitive data anywhere in your hybrid cloud


Check here for virtualization and management needs: HMC & CMC, PowerVC, and PowerVM

Open Source

Join our open source efforts within the IBM Power Systems portfolio

Enterprise Infrastructure as a Service

Achieve business growth with agility and flexibility with our enterprise IaaS in Power Virtual Server

Programming Languages

The hub for Programming Languages

Expand all | Collapse all

Circular dependency reference with gettext and glibq

Jump to Best Answer
  • 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-

    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( 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 >= 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

    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