Hello,

while running a perl script in SUN Solaris OS, i faced the following error:

"ld.so.1: perl: fatal: relocation error: file /usr/perl5/5.8.4/bin/perl: symbol PL_sigfpe_saved: referenced symbol not found"

I am trying to run a perl script with perl 5.6.1 . It contains some shell commands with it.

1. when i run the same shell script commands in another test.pl script, with perl 5.8.4, there is no problem and it is running fine and giving the correct output.

2. When i executed the test.pl with 5.6.1 version of perl, it gave the correct answer. Only in this main perl script it is not working.
@INC = /usr/bin:/usr/sbin:/opt/csw/bin:/opt/csw/sbin:/usr/local/bin:/o +pt/nsr:/opt/nsr:/usr/atria/bin ./modules ./xerces/lib ./modules ./xerces/lib ./modules ./modules /ts +p/tqa/tools/5.6.1/lib/sun4-solaris-64int /tsp/tqa/tools/5.6.1/lib /us +r/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib /usr/perl5/ +site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1 /usr/pe +rl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int /usr/pe +rl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl
Could you tell me what can be the error ??

In reply to Perl version problem during execution of a script by in_trouble

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.