Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • GLIBC_ABI_DT_RELR in RedHat UBI Image

    Posted on

    In my RHEL VM, I was creating a UBI based container, there's no GLIBC_ABI_DT_RELR in it?

    sudo docker run -it --rm registry.access.redhat.com/ubi9/ubi /bin/bash

    [root@c28e18e8ae62 /]# ldd --version
    ldd (GNU libc) 2.34
    Copyright (C) 2021 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Written by Roland McGrath and Ulrich Drepper.
    [root@c28e18e8ae62 /]# rpm -q glibc
    glibc-2.34-125.el9_5.1.x86_64
    [root@c28e18e8ae62 /]# strings /lib64/libc.so.6 | grep GLIBC_ABI_DT_RELR

    I need this because I was trying to build UBI-based Postgresql image,
    and it gives me the following error:
    initdb: /lib64/libc.so.6: version

    GLIBC_ABI_DT_RELR' not found (required by initdb)
    initdb: /lib64/libc.so.6: version
    GLIBC_ABI_DT_RELR' not found (required by /usr/lib/postgresql/15/bin/../lib/libpq.so)
    initdb: /lib64/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by /usr/lib/postgresql/15/bin/../lib/glibc_locales.so)

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat, Inc.