[PyKDE] solaris 7 unresolved symbol
claustre at esrf.fr
Tue Feb 25 18:35:01 GMT 2003
Not yet working but just discovered that truncate is redefined as
truncate64 in /usr/include/unistd.h file
if __USE_FILE_OFFSET64 is defined !!
Why the libqtcmodule.so refers to QString.truncate64() instead of
Does my gcc 2.95.2 preprocessor fail ?
Laurent Claustre wrote:
> Help, have problem importing qt with following setup:
> platform: solaris7
> compiler: gcc 2.95.3
> Qt: 3.1.1
> si: x11-gpl-snapshot-20030204
> PyQt: x11-gpl-snapshot-20030125
> Everything was compiled fine but :
> Python 2.2.2 (#8, Feb 17 2003, 13:40:18)
> [GCC 2.95.2 19991024 (release)] on sunos5
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import qt
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> line 25, in ?
> import libqtc
> ImportError: ld.so.1: python: fatal: relocation error: file
> symbol truncate64__7QStringUi: referenced symbol not found
> I know it sounds like PyQt was compiled with a different qt version
> and python is trying to load
> with an other one, but I've checked my lib-path that is Ok.
More information about the PyQt