PyQt on a Server

Jerry Sievers jerry at
Mon Nov 29 17:07:48 CET 2004

Bob Parnes <rparnes at> writes:

> I have an application importing qt on a linux server and am missing 
> something in trying to run it from a workstation via nfs. The 
> workstation has the server /usr directory mounted to its own /usr 
> directory, so it can access the necessary files. The error I get is
> Traceback (most recent call last):
>   File "/demo/", line 24, in ?
>     from qt import *
>   File "/usr/lib/python2.3/site-packages/", line 24, in ?
>     import libsip
> ImportError: cannot open shared object file: 
>   No such file or directory
> I can see the file in /usr/X11R6/lib. So maybe there is a path variable
> that uses and that has to be set on the workstation. If so, I don't 
> know how to find it. Thanks for any help.


or if the LD_LIBRARY_PATH exists already, append to it;




Now try running your Python script and see if this helps.  If so, read
about ld.config and add that lib to the standard config on the
workstation if you plan on having that NFS mount all the time.

You might also check to insure that the lib that you are "seeing" is
actually a file and not a symlink to nowhere and that the file has
appropriate perms for a shared lib r-x is typical.


> Bob
> -- 
> Bob Parnes
> rparnes at

Jerry Sievers   305 854-3001 (home)     WWW ECommerce Consultant
                305 321-1144 (mobile

More information about the Python-list mailing list