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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content