[PyKDE] Unexpected problem importing qtext
Torsten Marek
shlomme at gmx.net
Sat Mar 8 11:35:01 GMT 2003
Dimitris Garanatsios schrieb:
> Hi there,
>
> Recently i successfully installed sip v3.5, qscintilla v0.3 and
> PyQt v3.5 from sources, in that particular order... Afterwards,
> i wanted to try out eric v3.0.0b1 (eric 3.0.1 seems to need PyQt
> v3.6 which i can't find anywhere - i prefer to use the stable
> releases), but...
>
> ...eric's install.py script fails to "import qtext" and here is
> the traceback i get importing it:
>
> ---start---
> Python 2.2.1 (#1, Jul 31 2002, 15:21:54)
> [GCC 2.95.3 20010315 (SuSE)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
>>>> import qtext
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/usr/lib/python2.2/site-packages/qtext.py", line 28, in ?
> import libqtextc
> ImportError: libqscintilla.so.0: cannot open shared object file: No such
> file or directory
> ---end---
>
> I have searched the archives and found out that another user had
> this problem too, but he was missing some files. In my case
> though, the problem seems to be that i can't figure out what's
> missing...
>
> PyQt was compiled with qscintilla support (or so said the
> build.py script) over qt v3.0.3 and i have the following files:
>
> ---start---
> <python_site-packages>/qtext.py
>
> <python_site-packages>/libqtextcmodule.so
> <python_site-packages>/libqtextcmodule.so.1
> <python_site-packages>/libqtextcmodule.so.1.0
> <python_site-packages>/libqtextcmodule.so.1.0.0
>
> $QTDIR/lib/libqscintilla.so
> $QTDIR/lib/libqscintilla.so.0
> $QTDIR/lib/libqscintilla.so.0.0
> $QTDIR/lib/libqscintilla.so.0.0.0
> ---end---
>
> I have tried copying libqscintilla.so* to <python_site-packages>
> but that did nothing. I run ldconfig too in case that this has
> somethting to do with the problem...
>
> So, any doctors out there ;-)
>
> Btw, i have never used PyQt before and just subscribed to the
> list, so i apologize if i didn't find an already posted
> answer.
>
> Thanks in advance...
>
Are you sure that ldconfig can find libqscintilla.so.0? Just execute
ldconfig -p|grep qscintilla
If you do not see anything, you can either add $QTDIR/lib/ to your ld.so.conf or create a
symbolic link from /usr/lib/libqscintilla.so.0 to $QTDIR/lib/libqscintilla.so.0, which
IMHO is the better solution.
greetings
Torsten
--
Torsten Marek <shlomme at gmx.net>
ID: A244C858 -- fingerprint 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858
www.keyserver.net -- wwwkeys.eu.pgp.net
< information must flow >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 252 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030308/65e62e1a/attachment.bin
More information about the PyQt
mailing list