PyQt install problem

Bruce Wolk bawolk at ucdavis.edu
Wed Aug 8 12:34:39 EDT 2001


Good suggestion.  When I run ldd on libqtcmodule.so as root and as user I get
different results for libqt.so.2:

root
    libqt.so.2 => /usr/lib/qt-2.3.0/lib/libqt.so.2 (0x40505000)
user
    libqt.so.2 => /usr/local/qt/lib/libqt.so.2 (0x404f6000)

I don't understand why this is so.  It seems that the qt libraries are in
fact in both locations--both version 2.3.  I am not sure how that happened.
So what should I do now?

I also get many additional libraries as root that I don't get as user:

 libXft.so.1 => /usr/X11R6/lib/libXft.so.1 (0x40ec9000)
 libpng.so.2 => /usr/lib/libpng.so.2 (0x40eee000)
 libz.so.1 => /usr/lib/libz.so.1 (0x40f0f000)
 libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40f1e000)
 libmng.so.1 => /usr/lib/libmng.so.1 (0x40f3d000)
 libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x41018000)
 libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4101e000)

Thanks,
Bruce

Boudewijn Rempt wrote:

> Bruce Wolk <bawolk at ucdavis.edu> wrote:
> > I compiled the sip-2.4.tar.gz  and   PyQt-2.4.tar.gz versions under
> > Red Hat 7.1 against Qt2.3 and Python 2.1, both without any errors.  When
> > I run the PyQt examples as root, I get the following message, but the
> > examples run:
>
> It would be interesting to examine the output of ldd on your
> generated PyQt module, to see whether the Qt library it thinks it's
> linked to actually exists - perhaps root and plain users have different
> library paths.
>
> If everything fails it might be best to ask on the PyKDE mailing list:
>
>   http://mats.gmd.de/mailman/listinfo/pykde
>
> --
>
> Boudewijn Rempt  | http://www.valdyas.org




More information about the Python-list mailing list