Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello friends..I was trying to install Log4Perl module in my own subdirectory in UNIX (since I do not have admin rights) and while doing perl Makefile.PL I keep receiving this following error:
ld.so.1: perl: fatal: relocation error: file /opt/edenv/perl/sun4-sola +ris/auto/Time/HiRes/HiRes.so: symbol perl_get_sv: referenced symbol n +ot found Killed

2006-11-24 Retitled by planetscape, as per Monastery guidelines
Original title: 'What is this error ?'

Replies are listed 'Best First'.
Re: errors installing XS module on Solaris
by chargrill (Parson) on Nov 21, 2006 at 22:10 UTC

    Perl modules using XS are notoriously hard to install correctly on solaris, usually because the perl shipped with solaris was built using the sun workshop compiler. As a result, trying to compile XS modules often fails, because most of the time the only compiler around is gcc, which causes a conflict.

    Either that, or your compiler doesn't know where your libperl is. Try adjusting LD_LIBRARY_PATH or other such environment variables.



    --chargrill
    s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)