From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 Firebird/0.7 Description of problem: Apache/Build.pm is missing a line which causes ld to be called directly during the build of mod_perl.so. The linker should be invoked indirectly via gcc. The fix is trivial and was first reported on the mod_perl mailing list back in September, but hasn't made it into the SRPM yet. See http://marc.theaimsgroup.com/?l=apache-modperl-cvs&m=106390946300985&w=2 for the patch. This is also an issue in the Enterprise 3 sources. Version-Release number of selected component (if applicable): mod_perl-1.99_09-10 How reproducible: Always Steps to Reproduce: 1.rpm -i mod_perl-1.99_09-10.src.rpm 2.cd /usr/src/redhat 3.rpmbuild -v -bb SPECS/mod_perl.spec Actual Results: Build stops with message "ld: bad -rpath option" Expected Results: The build should have completed and produced the binary RPM's Additional info:
Created attachment 95647 [details] Patch for mod_perl-1.99_09-10 SRPM Quick fix for the impatient. 1. Download and install the mod_perl SRPM. 2. Run 'rpmbuild -bp SPECS/mod_perl.spec' 3. Download the attached patch file to the BUILD directory. 4. Change to the BUILD directory and run 'patch -p0 < initmain.patch'. 5. Return to the original directory and run 'rpmbuild -bc --short-circuit SPECS/mod_perl.spec'
You might want to take a look at bug #110249 and build 1.99_11 instead of short-circuiting which is dirty :)
This got fixed I believe when 110249 got fixed.