[Rpm-maint] How to prevent rpmbuild from including dependencies on non-rpm libraries

Dr. Douglas C. MacKenzie doug at mobile-intelligence.com
Tue Feb 6 16:04:30 UTC 2007


We are using Fedora Core 6, and rpm version 4.4.2-32.

We use some libraries which are not provided as RPM files.
An example is the Intel IPP library, which is a tar file that just
installs libraries directly in /opt/intel

My problem is our software is packaged as RPM files.  When I create an
rpm from our software rpmbuild finds the dependency on the IPP libraries
(from *_la_LIBADD in the Make.am file, I guess) and adds them to the
binary RPM package.  When I try to install the binary package, I get
errors like these:

error: Failed dependencies:
        libippacem64t.so.5.1()(64bit) is needed by
miVideo-devel-1.1-3.x86_64
        libippccem64t.so.5.1()(64bit) is needed by
miVideo-devel-1.1-3.x86_64
        libippcoreem64t.so.5.1()(64bit) is needed by
miVideo-devel-1.1-3.x86_64
        libippcvem64t.so.5.1()(64bit) is needed by
miVideo-devel-1.1-3.x86_64
        libippiem64t.so.5.1()(64bit) is needed by
miVideo-devel-1.1-3.x86_64
        libippjem64t.so.5.1()(64bit) is needed by
miVideo-devel-1.1-3.x86_64
        libippmem64t.so.5.1()(64bit) is needed by
miVideo-devel-1.1-3.x86_64
        libippscem64t.so.5.1()(64bit) is needed by
miVideo-devel-1.1-3.x86_64
        libippsem64t.so.5.1()(64bit) is needed by
miVideo-devel-1.1-3.x86_64
        libippsrem64t.so.5.1()(64bit) is needed by
miVideo-devel-1.1-3.x86_64
        libippvcem64t.so.5.1()(64bit) is needed by
miVideo-devel-1.1-3.x86_64
        libippvmem64t.so.5.1()(64bit) is needed by
miVideo-devel-1.1-3.x86_64


However, the libraries are actually available in /opt/intel on this
machine, they are just not specified in any installed RPM packages.

How can I keep rpmbuild from adding these dependencies, or at least get
rpm to find the ipp libraries so the install succeeds without having to
pass --nodeps?  BTW, if I do use --nodeps everything installs and runs
correctly.  This is just a dependency checking issue.

Thanks,

Doug

-- 
Doug MacKenzie




More information about the Rpm-maint mailing list