[PyKDE] PyQt, qt-3.1.1 unresolved symbol (SuSE8.2)
Claus Schumacher
schumacher at physik.uni-wuerzburg.de
Sat Apr 19 13:40:01 BST 2003
First of all: Sorry for asking the question again,
but unfortunately I'm too much newbie to solve the problem on my own:
After installing SuSE8.2 I started my PyQt-Application with the following
result:
File "/usr/lib/python2.2/site-packages/qt.py", line 39, in ?
import libqtc
ImportError: /usr/lib/python2.2/site-packages/libqtcmodule.so: undefined
symbol: _ZNK16QAssistantClient9classNameEv
SuSE8.2 was installed completely from the distribution DVD and I did nothing
on my own (execpt starting my application :-) ).
All right. I read the mails in PyKDE concerning this problem and tried to
understand them. The most promising one told me the following:
>"I had the same problem. I guess you have configured Qt-3.1.0 with a prefix
>and
>called 'make install' after building.
>
>Installing Qt this way strips not only the executables and shared libraries,
>it also strips the archive libraries (qmake is very buggy on install targets,
>it also strips html files and other types of files).
>
>This results in the unresolved symbol when linking.
>
>The solution is to copy the (unstripped) archive libraries from the build
>directory to the target directory by hand after installing."
Ok. I did this and indeed the libraries in the build tree are larger that the
ones in the rpm file.
Now I guess I need to rebuild the PyQt package with the now correct unstripped
symbols?!
I did this with no success! The file length if "libqtcmodule.so" is the same
after rebuilding and the error message when starting my application is the
same, too.
I did the rebuilding with the SuSE source rpms, because I have absolutlely
experiences with Makefiles and hence I expect everything to be
unreproducable.
Perhaps anyone here can help me?!
--
===============================================================================
Zynismus ist der geglückte Versuch, die Welt so zu
sehen, wie sie wirklich ist.
(Jean Genet)
More information about the PyQt
mailing list