[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] I must be missing something, but what?
From:       Joachim Kaeber <kaeber () gmd ! de>
Date:       1999-10-04 6:27:38
[Download RAW message or body]

Deirdre Saoirse wrote:
> 
> I must be missing something...
> 
> deirdre@adelie:~/pykde/PyKDE-0.9/examples > ./kmyapp.py
> Traceback (innermost last):
>   File "./kmyapp.py", line 7, in ?
>     from qt import QWidget, QPopupMenu
>   File "/usr/lib/python1.5/qt.py", line 7, in ?
>     import libqtc
> ImportError: libsip.so.0: cannot open shared object file: No such file or
> directory

Two possible solutions:
1. Set LD_LIBRAR_PATH to include the directory where libsip.so* resides;
   this is only a temporary fix, because LD_LIBRARY_PATH, especially
   when set globally in your login environment, is nearly always
   a bad idea.
2. Recompile/link the complete package and include -R{dir-with-libs},
   or -rpath {dir-with-libs}, or set LD_RUN_PATH accordingly
   (depends on your compile/link environment, e.g. our Solaris gcc
   is LD_RUN_PATH aware, my Linux box at home needs -rpath.

Hope that helps.
-- 
Joachim Kaeber (kaeber@gmd.de) (http://imk.gmd.de/~kaeber)
GMD - Forschungszentrum Informationstechnik GmbH
    - German National Research Center for Information Technology
Schloss Birlinghoven                    email: kaeber@gmd.de
D-53757 Sankt Augustin 1, Germany       phone: (+49 2241) 14-2546


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic