Red Hat Bugzilla – Bug 125226
Perl not working correctly, causes segmentation fault
Last modified: 2007-11-30 17:10:44 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Description of problem:
After installing FC2, perl is no longer working correctly. It always
reports a segmentation fault when running ANY Makefile.PL - problem
persisted even after removing perl and reinstalling the RPM. Same
after removing the RPM and reinstalling perl from source.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. untar any perl tarball
2. perl Makefile.PL
Actual Results: segmentation fault
Expected Results: proper handling of the Makefile
I can't reproduce this. Can you send the output of:
'strace -f perl Makefile.pl'
as well as the output of
I am attaching here the files you requested. I also found out that I
have two Perl binaries - "perl" and "perl5.8.3".
Using 'perl5.8.3 Makefile.PL' processes the Makefile correctly
Using 'perl Makefile.PL' does not
What is IMHO strange is that the 'perl' binary is a copy of the
'perl5.8.3' binary and yet it behaves differently
However, when running perl programs, with '/usr/bin/perl' as the
location of the perl binary, perl programs work OK.
For some reason 'perl' cannot process Makefile.PL's, while 'perl5.8.3'
can - and they are exactly the same programs.
Tried making a symbolic link called 'perl' to 'perl5.8.3' - also
output of 'env' is called env.txt ;-)
output of 'perl Makefile.PL' is called badperl.txt
output of 'perl5.8.3 Makefile.PL' is called goodperl.txt
Created attachment 100954 [details]
The env output
Created attachment 100955 [details]
The 'perl5.8.3 Makefile.PL' output
Created attachment 100956 [details]
The 'perl Makefile.PL' output
Look closer at your strace of 'perl Makefile.PL' -- you have a perl in
/usr/local. The Red Hat perl lives in /usr, not /usr/local, so
someone has put another perl on your box and it is interfering with
the Red Hat perl.
Closing as NOTABUG.