[PyKDE] help for installing eric3 on sunos5.9 box
cwu at mdanderson.org
cwu at mdanderson.org
Thu Jul 31 21:59:00 BST 2003
Hi, Mr. Horstmann and group,
I tried to install eric 3.2 on my sunos box. I don't have administrator
right, so I installed Qt, Sip,QScintilla on my local directory using
"prefix=/home/cwu/app". Everything is OK so far, and I can run "qtconfig", "sip
-h" correctly under my environment. Then I installed pyQt by using "python
build.py -b /home/cwu/app/bin" followed by "make" and "make install" with no
problem. But I can not "import qt" or "import libsip" under python and it
complains as below:
>>> import libsip
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: ld.so.1: python: fatal: relocation error: file
/home/cwu/app/python/lib/python2.2/site-packages/libsip.so: symbol
__1cG__CrunKpure_error6F_v_: referenced symbol not found
I tried to put all path I think possible into PYTHONPATH and LD_LIBRARY_PATH (as
below), but still I could not solve the problem.
setenv QTDIR /home/cwu/app
setenv LD_LIBRARY_PATH
"/home/cwu/app/lib:/home/cwu/app/lib/wxPython/lib:/usr/local/lib:/usr/lib:/opt/SUNWexplo/lib:/home/cwu/app/EMBOSS/lib:$QTDIR/lib"
setenv PYTHONPATH "/home/cwu/mydoc/mypython:$LD_LIBRARY_PATH"
Here is the "ldd" output. Hope it will be useful. I checked all files listed at
the right side and they are all there.
% ldd ~/app/python/lib/python2.2/site-packages/libsip.so
libqt.so.3 => /home/cwu/app/lib/libqt.so.3
libXext.so.0 => /usr/lib/libXext.so.0
libX11.so.4 => /usr/lib/libX11.so.4
libresolv.so.2 => /usr/lib/libresolv.so.2
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libSM.so.6 => /usr/lib/libSM.so.6
libICE.so.6 => /usr/lib/libICE.so.6
libdl.so.1 => /usr/lib/libdl.so.1
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Fire-880/lib/libc_psr.so.1
Would you point me out the problem and help me out of it?
Thanks a lot.
Chunlei
More information about the PyQt
mailing list