From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 Description of problem: You can't rebuild the perl src.rpm properly perl-5.8.0-88.4.src.rpm $ rpmbuild -ba perl.spec . . gcc: error while loading shared libraries: /usr/src/redhat/BUILD/perl-5.8.0/libperl.so: cannot open shared object file: No such file or directory make: *** [miniperl] Error 127 error: Bad exit status from /var/tmp/rpm-tmp.57500 (%build) Bad exit status from /var/tmp/rpm-tmp.57500 (%build) Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. rpmbuild -ba perl.spec 2. 3. Actual Results: gcc: error while loading shared libraries: /usr/src/redhat/BUILD/perl-5.8.0/libperl.so: cannot open shared object file: No such file or directory make: *** [miniperl] Error 127 error: Bad exit status from /var/tmp/rpm-tmp.57500 (%build) Bad exit status from /var/tmp/rpm-tmp.57500 (%build Additional info:
I am unable to reproduce this here. I'm wondering if it might have something to do with the spec file you are using, or possibly how the machine was installed (what packages, etc). Can you give more info on this?
As per an email received from the submitter: This system was built with kickstart, using specific packages. I then downloaded the perl src.rpm, just modified the otherlibdirs, and tried to rebuild. Would you like the full installed RPM list and the one line in the spec I changed?
sounds like the package requires perl to be installed to build properly, despite some efforts to not make this the case. this is a low priority bug and will be fixed if an opportunity presents itself, but it will likely be rather slow unless assisted with external patches.
Sorry for the long delay in processing this bug. It appears this bug is no longer a problem for RHEL-3-U6 / perl-5.8.0-89.10+ - perl builds fine from the src.rpm without perl being installed.