[PyQt] libCrun on Solaris
phil at riverbankcomputing.co.uk
Tue Oct 2 16:17:49 BST 2007
On Tuesday 02 October 2007, Jeremy Sanders wrote:
> Hi -
> I tried to compile PyQt-x1-gpl-4.3.1 under Solaris 10 with
> CC: Sun C++ 5.7 Patch 117830-11 2007/04/04 for Sparc. I compiled it against
> When I try to load an example PyQt program, it appears there are missing
> /usr/local/bin/python t1.py
> Traceback (most recent call last):
> File "t1.py", line 7, in ?
> from PyQt4 import QtGui
> ImportError: ld.so.1: python: fatal: relocation error:
> file /data/store/jss/local2/usr/lib/python2.4/site-packages/PyQt4/QtGui.so:
> symbol __1cG__CrunKpure_error6F_v_: referenced symbol not found
> It appears that the C++ Qt examples are linked against
> /usr/lib/libCrun.so.1 which contains this symbol, but the PyQt .so files
> are not.
> Is this a problem with PyQt, Qt or Python? Is there a work-around?
There is no mention of that library in qmake's spec files, so Qt doesn't seem
to know about it which means PyQt won't know about it.
More information about the PyQt