https://mongodb.slack.com/archives/C0V2M1UH3/p1647437398328829
We bumped the version of rpm that we use to create mongosh rpms for resolving HELP-31642. This new version generates a /usr/lib/.build-id/9e/536ff39a323054c1bf1f8972bdb69f6d7c4f7f symlink that points to our bundled mongocryptd binary. This conflicts with the same symlink from the mongocrypt package itself.
As a consequence, following the instructions on https://docs.mongodb.com/manual/tutorial/install-mongodb-enterprise-on-red-hat/ does not currently work for RHEL installs. (As a temporary workaround, users can fix mongosh at version 1.2.2: yum install mongodb-enterprise mongodb-mongosh-1.2.2.)
Adding %define _build_id_links none to our RPM spec may help resolve this: https://access.redhat.com/discussions/5045161.