Linux Step x Step
www.linux-sxs.org

Correcting Gtk Warnings After
Installing XFce From a Binary
by: Nate Cole
Last updated on 28-Feb 2001
Links:
www.xfce.org
Tested on: Caldera OpenLinux 2.3 with kernel 2.2.14.
Detail
Note: These tips have only been tested on a binary
installation of the XFce Window Manager. Many people who have
compiled from source have not experienced any of the errors or
warnings described here.
After installing XFce according to the
steps, I was getting warnings upon
launching almost any tool compiled with the Gimp toolkit; for
example xftree and the
like:
Gtk-WARNING **: Unable to locate
loadable module in module_path: "libxfce.so"
Although there is an option to disable the display of this
dialog box, it is useful for my own debugging purposes. The
steps I took to fix are:
- I found the missing module in /usr/lib/gtk/themes/engines. This is
the path that is specified in the RPM.
- To find where Gtk *thinks* modules are located, I ran
gtk-config --prefix.
The output was /usr/X11R6.
- In /usr/X11R6/lib,
I created a symbolic link named gtk pointing to /usr/lib/gtk.
Enjoy! Nate