Subject: Problem with Python/Qt/wxWindows
To: None <netbsd-help@netbsd.org>
From: Klaus-Juergen Wolf <klaus-juergen.wolf@epost.de>
List: netbsd-help
Date: 10/24/2001 08:57:09
Hi,
I am not sure if I'm asking at the right place, but I have got a problem
with Python dynamic linking feature. I am using NetBSD 1.5.2.
When I try to use Python (2.0.1 and 2.1.1) dynamic link modules for Qt
(PyQT-2.5) or wxWindows (aka wxGTK-2.2.7, in pkgsrc), I get strange
error message from Python. The build process of the modules didn't
complain anywhere.
Somebody got an idea?
Python 2.0.1 (#1, Oct 7 2001, 01:27:46)
[GCC egcs-2.91.66 19990314 (egcs-1.1.2 release)] on netbsd1
Type "copyright", "credits" or "license" for more information.
>>> import qt
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/pkg/lib/python2.0/site-packages/qt.py", line 44, in ?
import libqtc
ImportError: /usr/pkg/lib/python2.0/site-packages/libqtcmodule.so:
Undefined symbol "__pure_virtual" (reloc type = 1, symnum = 7018)
or:
Python 2.1.1 (#1, Oct 22 2001, 02:46:15)
[GCC egcs-2.91.66 19990314 (egcs-1.1.2 release)] on netbsd1
Type "copyright", "credits" or "license" for more information.
>>> import qt
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/pkg/lib/python2.1/site-packages/qt.py", line 44, in ?
import libqtc
ImportError: error in dynamic linking
(I installed site-packages/ separately for each Python version...)
Regards,
k.j.