Ilya Zakharevich on Mon, 24 May 1999 17:48:01 -0400

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

err() erroneously resolved on Linux RedHat 6.0

When building Math::Pari Perl module on Linux Redhat 6.0, there were
many problems.  All of them were traced to a faulty dynalinking.

This Perl module builds the PARI library (with some glue layer) as a
shared library.  Apparently, when this library is loaded, there is
already some other shared library with a function named err().  Thus
calls to err() are resolved to this different library (even the calls
from inside the PARI library).

Recompiling Math::Pari with -Derr=pari_myerr fixed all the problems.

Hope this helps,