smart 0.50rc1-7 ok @ shell, GUI fails
snowcrash+smart
schneecrash+smart at gmail.com
Wed Nov 29 09:23:50 PST 2006
On 11/29/06, Gustavo Niemeyer <gustavo at niemeyer.net> wrote:
> First try to find out what is actually missing.
trying to. i'm honestly not *trying* to be troublesome here. i'm
just, apparently, confused.
'smart --shell' works fine.
'smart --gui' complains about a missing dir/file.
'smart --gui' is the only app that is currently complaining about
anything on my system.
the frustration is, of course, for "just" an end-user, that the
*reason* we *use* smart is to avoid exactly these sorts of problems.
oh well. i'll shut up and learn here. :-/
> There seems to be a library missing, since the error message is from the linker.
ok.
> Get into the 2.4.0 directory and run ldd on .so files you find there, and see
> if you find the missing one.
again, i'm not sure what you're looking for.
to my perhaps mistaken read, the *missing* file *is*
libpixbufloader-png.so
as per the output @ console of the error on
smart --gui
*that* file is *not* in *that* dir.
but, ok. per your suggestion,
% ls /opt/gnome/lib/gtk-2.0/2.4.0/loaders/
io-wmf.so
% ldd io-wmf.so
linux-gate.so.1 => (0xffffe000)
libwmf-0.2.so.7 => /usr/lib/libwmf-0.2.so.7 (0xb7f03000)
libgdk_pixbuf-2.0.so.0 => /opt/gnome/lib/libgdk_pixbuf-2.0.so.0 (0xb7eec000)
libm.so.6 => /lib/libm.so.6 (0xb7ec7000)
libgobject-2.0.so.0 => /opt/gnome/lib/libgobject-2.0.so.0 (0xb7e8d000)
libgmodule-2.0.so.0 => /opt/gnome/lib/libgmodule-2.0.so.0 (0xb7e8a000)
libdl.so.2 => /lib/libdl.so.2 (0xb7e86000)
libglib-2.0.so.0 => /opt/gnome/lib/libglib-2.0.so.0 (0xb7df1000)
libc.so.6 => /lib/libc.so.6 (0xb7cd1000)
libwmflite-0.2.so.7 => /usr/lib/libwmflite-0.2.so.7 (0xb7cb7000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7c4b000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xb7c42000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xb7c2a000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7b32000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7b13000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7af4000)
libpng.so.3 => /usr/lib/libpng.so.3 (0xb7ab5000)
libz.so.1 => /lib/libz.so.1 (0xb7aa3000)
/lib/ld-linux.so.2 (0x80000000)
librt.so.1 => /lib/librt.so.1 (0xb7a9a000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7a85000)
the only thing apparently related to *pixbuf* is,
% ls -ald /opt/gnome/lib/libgdk_pixbuf-2.0.so.0
lrwxrwxrwx 1 root root 29 Nov 28 12:16
/opt/gnome/lib/libgdk_pixbuf-2.0.so.0 -> libgdk_pixbuf-2.0.so.0.1000.6
% ls -ald /opt/gnome/lib/libgdk_pixbuf-2.0.so.0.1000.6
-rwxr-xr-x 1 root root 112926 Nov 27 09:23
/opt/gnome/lib/libgdk_pixbuf-2.0.so.0.1000.6
and, for further reference,
% ls /opt/gnome/lib/gtk-2.0/2.10.0/loaders/
libpixbufloader-ani.so libpixbufloader-ras.so
libpixbufloader-bmp.so libpixbufloader-tga.so
libpixbufloader-gif.so libpixbufloader-tiff.so
libpixbufloader-ico.so libpixbufloader-wbmp.so
libpixbufloader-jpeg.so libpixbufloader-xbm.so
libpixbufloader-pcx.so libpixbufloader-xpm.so
libpixbufloader-png.so svg_loader.so
libpixbufloader-pnm.so
> Using rpm -Va can also help you to find
> missing files that were supposed to be installed.
ok. i'm not at all clear how the following tells be what/why smart is missing,
% rpm -Va
S.5....T c /etc/isdn/isdn.conf
.......T /usr/share/pixmaps/email.png
S.5....T c /etc/services
S.5....T c /etc/a2ps.cfg
.......T /etc/init.d/running-kernel
.......T d /usr/share/doc/packages/kernel-source/README.SUSE
S.5....T c /usr/lib/ooo-2.0/share/dict/ooo/dictionary.lst
S.5....T c /etc/X11/xdm/xdm-config
S.5....T c /etc/zmd/zmd.conf
S.5....T /usr/lib/browser-plugins/libflashplayer.so
.....U.. /var/lib/wwwrun
.......T /usr/lib/gconv/gconv-modules.cache
missing /dev/3dfx
<snip> # lots! of /dev/...
missing /dev/zqft0
.......T /etc/udev/rules.d/40-fuse.rules
S.5....T c /etc/cups/ppds.dat
.......T /etc/udev/rules.d/51-lirc.rules
.......T c /etc/udev/rules.d/29-net_trigger_firmware.rules
S.5....T c /etc/udev/rules.d/30-net_persistent_names.rules
.......T c /etc/udev/rules.d/31-network.rules
.......T c /etc/udev/rules.d/80-sysconfig.rules
.......T c /etc/udev/rules.d/85-mount-fstab.rules
S.5....T c /etc/bluetooth/pin
missing /usr/lib/skype/import_plugins/dummy.gz
S.5....T /opt/kde3/share/doc/HTML/en/kdelibs-apidocs/index.html
missing /usr/lib/libpt_linux_x86_r.so.1.9.1
S.5....T c /usr/lib/smart/distro.py
.......T /etc/udev/rules.d/56-idedma.rules
.......T /opt/gnome/share/themes/Industrial/gtk/gtkrc
S.5....T c /etc/fonts/suse-font-dirs.conf
S.5....T c /etc/syslog-ng/syslog-ng.conf
S.5....T c /opt/kde3/share/config/kdm/kdmrc
.......T /etc/init.d/running-kernel
.......T d /usr/share/doc/packages/kernel-source/README.SUSE
.......T /usr/lib/ICAClient/desktop/Citrix_PNA.desktop
.......T /usr/lib/ICAClient/desktop/wfcmgr.desktop
.......T /usr/lib/ICAClient/wfica.sh
.......T /usr/lib/ICAClient/wfica_assoc.sh
S.5....T c /etc/sane.d/dll.conf
..5....T c /etc/inittab
S.5....T c /etc/mailcap
S.5....T c /etc/mime.types
.......T /etc/udev/rules.d/45-isdn.rules
S.5....T c /etc/xinetd.d/vnc
.......T /usr/lib/jvm/java-1.5.0-sun-1.5.0_07/jre/lib/fontconfig.SuSE.properties
S.5....T c /etc/ntp.conf
S.5....T c /var/lib/ntp/etc/ntp.conf.iburst
missing /usr/java/jre1.5.0_07/lib/charsets.pack
missing /usr/java/jre1.5.0_07/lib/deploy.pack
missing /usr/java/jre1.5.0_07/lib/ext/localedata.pack
missing /usr/java/jre1.5.0_07/lib/javaws.pack
missing /usr/java/jre1.5.0_07/lib/jsse.pack
missing /usr/java/jre1.5.0_07/lib/plugin.pack
missing /usr/java/jre1.5.0_07/lib/rt.pack
S.5....T c /etc/X11/qtrc
S.5....T c /etc/init.d/sshd
S.5....T c /etc/ssh/sshd_config
S.5....T c /etc/cups/classes.conf
.......T c /etc/cups/cupsd.conf
S.5....T c /etc/cups/printers.conf
S.5....T c /etc/rsyncd.conf
missing /usr/lib/xulrunner-1.8.0.6/GenerateJavaInterfaces
<snip> # lots! of /usr/lib/xulrunner-1.8.0.6/...
missing /usr/lib/xulrunner-1.8.0.6/xulrunner-stub
%
> "smart check" will tell you if there are broken dependencies.
% smart check
Loading cache...
Updating cache...
#####################################################################
[100%]
Saving cache...
%
which, iiuc, says that nothing's broken.
still,
% smart --gui
reports,
/usr/lib/python2.4/site-packages/smart/interfaces/gtk/log.py:36:
GtkWarning: Unable to locate theme engine in module_path: "qtengine",
gtk.Window.__init__(self)
Traceback (most recent call last):
File "/usr/bin/smart", line 194, in ?
main(sys.argv[1:])
File "/usr/bin/smart", line 161, in main
forcelocks=opts.ignore_locks, loglevel=opts.log_level)
File "/usr/lib/python2.4/site-packages/smart/__init__.py", line 122, in init
iface.object = createInterface(ifacename, ctrl, command, argv)
File "/usr/lib/python2.4/site-packages/smart/interface.py", line
161, in createInterface
return interface.create(ctrl, command, argv)
File "/usr/lib/python2.4/site-packages/smart/interfaces/gtk/__init__.py",
line 44, in create
return GtkInteractiveInterface(ctrl)
File "/usr/lib/python2.4/site-packages/smart/interfaces/gtk/interactive.py",
line 179, in __init__
GtkInterface.__init__(self, ctrl)
File "/usr/lib/python2.4/site-packages/smart/interfaces/gtk/interface.py",
line 36, in __init__
self._log = GtkLog()
File "/usr/lib/python2.4/site-packages/smart/interfaces/gtk/log.py",
line 39, in __init__
self.set_icon(getPixbuf("smart"))
File "/usr/lib/python2.4/site-packages/smart/interfaces/gtk/__init__.py",
line 52, in getPixbuf
pixbuf = gtk.gdk.pixbuf_new_from_file(filename)
gobject.GError: Unable to load image-loading module:
/opt/gnome/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so:
/opt/gnome/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so: cannot
open shared object file: No such file or directory
More information about the Smart
mailing list