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

I'm a newbie, compiling perl5 from source for the first time. The OS is SCO 3.2v5.02. The compiler is cc.

I accepted the the defaults as offered to me by Configure. make makes and produces an executable. When I run "make test", many tests fail with

"Can't load '../lib/directory/filename.so' for module SomeModule: dynamic linker: ./perl: invalid relocation type 3 at 0x804c2f44 at ../lib/XSLoader.pm line 75."

or

"Can't load '../lib/directory/filename.so' for module SomeModule: :SomeMethod: dynamic linker: ./perl: relocation error: symbol not found: PL_stack_sp a t ../lib/XSLoader.pm line 75"

...depending on whether I run it on the old SCO box or our brand new one. The problem is always some kind of relocation error in XSLoader line 75, which features a call to dl_load_file().

Any insights, anyone? On the "new" box 26 tests fail, leaving me with a score of 88.50 % Thanks!