Red Hat Bugzilla – Bug 984929
linking error when rebuilding openhpi
Last modified: 2013-07-16 07:59:15 EDT
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):
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
gcc: /usr/lib64/perl5/5.8.8/ppc64-linux-thread-multi/auto/DynaLoader/DynaLoader.a: No such file or directory
make: *** [hpiSubagent] Error 1
binary packages are built
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.