[PyKDE] Help with PyQt install

Bruce Wolk bawolk at ucdavis.edu
Wed Feb 28 06:39:37 GMT 2001

When I make install I get the following error:

Making install in qt
make[1]: Entering directory `/home/bruce/down/PyQt-2.3/qt'
make[2]: Entering directory `/home/bruce/down/PyQt-2.3/qt'
/bin/sh ../mkinstalldirs /usr/local/lib/python2.0/site-packages
/bin/sh ../libtool  --mode=install /usr/bin/install -c libqtcmodule.la
/usr/bin/install -c .libs/libqtcmodule-2.3.so
(cd /usr/local/lib/python2.0/site-packages && rm -f libqtcmodule.so &&
-s libqtcmodule-2.3.so libqtcmodule.so)
/usr/bin/install -c .libs/libqtcmodule.lai
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib/python2.0/site-packages
Libraries have been installed in:

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
/bin/sh ../mkinstalldirs /usr/local/lib/python2.0/site-packages
 /usr/bin/install -c -m 644 ./qt.py
/usr/local/lib/python2.0/site-packages/qt.pymake  install-data-hook
make[3]: Entering directory `/home/bruce/down/PyQt-2.3/qt'
(cd /tmp;

python -O -c "import qt")
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/local/lib/python2.0/site-packages/qt.py", line 43, in ?
    import libqtc
ImportError: libsip.so.4: cannot open shared object file: No such file
make[3]: *** [install-data-hook] Error 1
make[3]: Leaving directory `/home/bruce/down/PyQt-2.3/qt'
make[2]: *** [install-data-am] Error 2
make[2]: Leaving directory `/home/bruce/down/PyQt-2.3/qt'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/bruce/down/PyQt-2.3/qt'
make: *** [install-recursive] Error 1

When I try to run the examples, I get the same ImportError.

Any ideas?

Please respond to my e-mail since I don't subscribe to the list


More information about the PyQt mailing list