Why does `rpm-build` ignore `GLIBC_PRIVATE` while making `Provides` section for `glibc` but does not ignore while making `Requires`?

Solution Verified - Updated -

Issue

  • Facing some problems while building an rpm file from source and spec file.
  • Internally binary which is part of rpm uses symbols from GLIBC_PRIVATE which causes situation that package contains dependency to ld-linux-x86-64.so.2(GLIBC_PRIVATE)(64bit) in Requires rpm field.
  • Why does rpm-build ignore GLIBC_PRIVATE while making Provides section for glibc but does not ignore while making Requires ?
  • Is there some solution to ignore GLIBC_PRIVATE other than AutoReqProv: no since rpm contains much more binaries.

Environment

  • Red Hat Enterprise Linux 6.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.