Why do I get relocation error: /lib64/tls/libc.so.6 loading library?

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Linux 4

Issue

  • We are getting following error
    relocation error: /lib64/tls/libc.so.6: symbol _dl_out_of_memory,
    version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference

Resolution

  • The error is coming from libc replacement library not shipped or supported by Red Hat.
  • Library path /lib64/tls/libc.so.6

Diagnostic Steps

  • Check output of following if it is coming from some program
ldd -d program

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments