[Zope-Perl] RE: pyperl build error: solaris2.7, python2.0, perl5.6.0

Gisle Aas gisle@ActiveState.com
15 Jan 2001 10:44:04 -0800


Huayin Wang <wang@rjka.com> writes:

> safecall.py Traceback (most recent call last):
>   File "safecall.py", line 13, in ?
>     perl.eval("""
> perl.PerlError: Can't load '/am04/work2/wang/other/lib/5.6.0/sun4-solaris-thread-multi/auto/Opcode/Opcode.so' for module Opcode: ld.so.1: /usr/local/bin/python: fatal: relocation error: file /am04/work2/wang/other/lib/5.6.0/sun4-solaris-thread-multi/auto/Opcode/Opcode.so: symbol Perl_warn: referenced symbol not found at /am04/work2/wang/other/lib/5.6.0/sun4-solaris-thread-multi/XSLoader.pm line 73.
>  at /am04/work2/wang/other/lib/5.6.0/sun4-solaris-thread-multi/Opcode.pm line 31
> Compilation failed in require at safecall line 16.
> 
> ......... failed
> socket.py ld.so.1: /usr/local/bin/python: fatal: relocation error: file /am04/work2/wang/other/lib/5.6.0/sun4-solaris-thread-multi/auto/Socket/Socket.so: symbol Perl_Tstack_sp_ptr: referenced symbol not found


This looks like the result of not applying the
'patches/python-20-dynload-global' patch.  This patch is needed on
some platforms to allow perl extensions to link with the perl loaded
by python.

Regards,
Gisle