PyQt install problem
boud at rempt.xs4all.nl
Wed Aug 8 23:38:07 CEST 2001
Bruce Wolk <bawolk at ucdavis.edu> wrote:
> Good suggestion. When I run ldd on libqtcmodule.so as root and as user I get
> different results for libqt.so.2:
> libqt.so.2 => /usr/lib/qt-2.3.0/lib/libqt.so.2 (0x40505000)
> 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)
This is logical and consistent with your earlier report. The Qt root
uses (which is presumably part of your OS installation) is compiled to
support Xft - the new, anti-aliased font protocol for X. Your X doesn't
support that (or it does, but your graphics card doesn't), and that
causes the error message you get when you run PyQt apps as root.
However, I'd search your user account configuration (particularly
.bashrc) for references to /usr/local/qt... - I think you might have
compiled and installed a qt as a user, and set the qt directory to that
It might be best to just remove the qt in /usr/local and let everything
point to the one in /usr.
Boudewijn Rempt | http://www.valdyas.org
More information about the Python-list