Dependency checking when building custom rpms in RHEL
Issue
-
Customer custom rpm build fails dependency checking.
qsgdbvj@ulopcot1:~$ rpmbuild -bb --nodeps ~/rpm/SPECS/customer.spec Processing files: customer-1.0.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash /bin/ksh libc.so.6 libc.so.6()(64bit) libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3)(64bit) libcrypt.so.1 libcrypt.so.1()(64bit) libcrypt.so.1(GLIBC_2.0) libcrypt.so.1(GLIBC_2.2.5)(64bit) libldap-2.2.so.7 libldap-2.2.so.7()(64bit) libldap-2.3.so.0()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/customer Wrote: /users/qsgdbvj/rpm/RPMS/noarch/customer-1.0.0-1.noarch.rpm ulopcot1:~# rpm -iv /var/tmp/customer-1.0.0-1.noarch.rpm error: Failed dependencies: libldap-2.2.so.7 is needed by customer-1.0.0-1.noarch libldap-2.3.so.0()(64bit) is needed by customer-1.0.0-1.noarch ulopcot1:~# rpm --nodeps -iv /var/tmp/customer-1.0.0-1.noarch.rpm Preparing packages for installation... customer-1.0.0-1
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.