Hi all, At the outset I thank you for everybody's help and support. I am back again with some cpan module questions. I installed some cpan modules locally on a sun sparc4 machine without super user previlages. I fllowed technical documentation on that. Everything went great. But when I tried to use them I am getting an error ld.so.1: perl: fatal: relocation error: I installed the first module(prerequisite for the second module) locally in my home directory. To install the second module I need to tell perl where I have the first one installed. So I executed the following command  setenv PERL5LIB /home/xf023126/lib/perl5:/home/xf023126/lib/perl5/site_perl:/apps/perl/5.8.0/lib After executing this command I could succesfully install the second module. Now when I try  perl -V I get the following
Characteristics of this binary (from libperl): Built under solaris Compiled at Dec 22 1999 00:00:57 %ENV: PERL5LIB="/home/xf023126/lib/perl5:/home/xf023126/lib/perl5/site_p +erl:/apps/perl/5.8.0/lib" @INC: /home/xf023126/lib/perl5 /home/xf023126/lib/perl5/site_perl /apps/perl/5.8.0/lib /usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005
My perl code starts like this.
#! /apps/perl/5.8.0/bin/perl -w use strict; use lib qw(/home/xf023126/lib/perl5 /home/xf023126/lib/perl5/site_perl +); use HTML::TokeParser::Simple;
When I triy to run it I get the following error.
ld.so.1: perl: fatal: relocation error: file /home/xf023126/lib/perl5/ +site_perl/auto/HTML/Parser/Parser.so: symbol Perl_Tstack_sp_ptr: refe +renced symbol not found Killed
I checked the folder /home/xf023126/lib/perl5/site_perl/auto/HTML/Parser for the Parser.so, and I found it there. I can't figure out why I have a problem? Can anyone suggest how I can fix this? Thanks in advance, Augustine

In reply to ld.so.1: perl: fatal: relocation error by august3

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.