Ilya Zakharevich on Sun, 20 Feb 2005 09:08:48 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: problem compiling Math::Pari 2.010603


> I'm getting an error message similar to this:
> t/00_Pari.....Can't load 'blib/arch/auto/Math/Pari/Pari.so' for module
> Math::Pari: ld.so.1: /bin/perl: fatal: relocation error: file
> blib/arch/auto/Math/Pari/Pari.so: symbol PERL_UNUSED_VAR: referenced symbol
> not found at /usr/perl5/5.6.1/lib/sun4-solaris-64int/DynaLoader.pm line 206.

> Is this something you've had bug reports on? I couldn't find anything on
> Google/the list archives. If not, I am able to submit the perl -V and perl
> Makefile.PL output if you're interested.

In Pari.xs:

   #ifndef PERL_UNUSED_VAR
   #  define PERL_UNUSED_VAR(var) if (0) var = var
   #endif

(needed with older versions of Perl).

Hope this helps,
Ilya