[Zope-Perl] Undefined Symbols

Peter Fein pfein at pobox.com
Mon Dec 27 15:33:02 EST 2004


Hiya-

I built up a copy of pyperl & I'm running in to undefined symbols (this
is pyperl-1.0.1 from activestate's site).  Python 2.3.4, Perl 5.8.4
(without thread support).  Snippets below.  Help would be greatly
appreciated...

BTW, is this list the best resource for pyperl?  Seems a bit dead... 
And I know this is a long shot, but does anyone have a working Gentoo
ebuild for this thing (it's beyond g-cpan.pl's abilities)?

The first ImportError comes from dlhack.c (took me a while to figure
that out).

Python 2.3.4 (#1, Sep 20 2004, 15:34:06) 
[GCC 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)] on
linux2 Type "help", "copyright", "credits" or "license" for more
information.
>>> import perl
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: perl2.so not found
>>> import perl2
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: /home/pafein/lib/python/perl2.so: undefined symbol:
av_reify
>>> 

pafein at layout ~ $ perl -MPython
Can't load
'/home/pafein/lib/perl5/i686-linux/auto/Python/Object/Object.so' for
module Python::Object:
/home/pafein/lib/perl5/i686-linux/auto/Python/Object/Object.so:
undefined symbol: PyExc_ArithmeticError at
/usr/lib/perl5/5.8.4/i686-linux/DynaLoader.pm line 230. at
/home/pafein/lib/perl5/i686-linux/Python.pm line 3 Compilation failed in
require at /home/pafein/lib/perl5/i686-linux/Python.pm line 3.
Compilation failed in require. BEGIN failed--compilation aborted.



-- 
Peter Fein                 pfein at pobox.com                 773-575-0694

Be alert - some terrorists look normal. -Ministry of Information, Brazil


More information about the Zope-perl mailing list