Mailing List Archive

Undefined symbol when freezing?
I'm trying to freeze a simple app w/an extension created with Swig.
Freeze generates the code and it compiles fine, but at runtime I get the
following:

Traceback (innermost last):
File "./hello.py", line 4, in ?
from fltk import *
File "fltk.py", line 1, in ?
File "fltk_pre.py", line 2, in ?
ImportError: /usr/local/lib/libswigpy.so: undefined symbol: PyType_Type

I'm not sure where to start looking to solve this.
Does anyone have any ideas?
Undefined symbol when freezing? [ In reply to ]
From: Kevin Dahlhausen <morse@harborcom.net>
Subject: Undefined symbol when freezing?

I'm trying to freeze a simple app w/an extension created with Swig.
Freeze generates the code and it compiles fine, but at runtime I get the
following:

Traceback (innermost last):
File "./hello.py", line 4, in ?
from fltk import *
File "fltk.py", line 1, in ?
File "fltk_pre.py", line 2, in ?
ImportError: /usr/local/lib/libswigpy.so: undefined symbol: PyType_Type

I'm not sure where to start looking to solve this.
Does anyone have any ideas?


--
|Fidonet: UUCP 2:500/3.1
|Internet: UUCP@p1.f3.n500.z2.hccfido.hcc.nl
|
| Standard disclaimer: The views of this user are strictly his own.