Description of problem: Linker tries to link with /usr/lib64/perl5/5.8.8/ppc64-linux-thread-multi/auto/DynaLoader/DynaLoader.a which is not present at the system even when all the build requirements are installed. It seems that it just searches in the wrong path - the library is located in /usr/lib/perl5/5.8.8/ppc-linux-thread-multi/auto/DynaLoader/DynaLoader.a on RHEL5 ppc (ppc64 is not supported by RHEL5). Version-Release number of selected component (if applicable): openhpi-2.14.0-5.el5 How reproducible: Always Steps to Reproduce: 1. install build deps of openhpi-2.14.0-5.el5 2. cd /usr/src/redhat 3. rpmbuild -bb SPECS/openhpi.spec Actual results: gcc: /usr/lib64/perl5/5.8.8/ppc64-linux-thread-multi/auto/DynaLoader/DynaLoader.a: No such file or directory make[4]: *** [hpiSubagent] Error 1 build fails Expected results: binary packages are built Additional info:
Please do rebuilding as done in brew, in a mock created chroot. Your build environment likely mixes 32 and 64 bit packages, which is completely legal in ppc, but can lead to unwanted results.