Le jeu 20/05/2004 Ã 21:35, jason healy a Ãcrit : > Thanks for the suggestions. This is what I eventually tried (unfortunately) > > First I set LD_LIBRARY_PATH to /usr/local/lib and executed ldconfig > > I then recompiled my test program and it now picks up the latest version > of Glib. > > I then built and installed ATK and GTK and repeated the above steps. > > My GTK programs pick up the correct libraries and run, however I now > have some new problems, > > 1. My X login screen no longer has any text prompts on it - only the > username and password entry > 2. Some apps are no longer working for example GEdit no longer runs > but crashes with the following ouput > > (gedit:2498): Gtk-CRITICAL **: file gtktextbuffer.c: line 334 > (set_table): asser > tion `buffer->tag_table == NULL' failed > > (gedit:2498): GLib-GObject-WARNING **: cannot create instance of > abstract (non-i > nstantiatable) type `GtkWidget' > > Does this mean that the binary libraries generated where not backwards > compatable ? > I don't seem to be able to go back ie by resetting LD_LIBRARY_PATH to > /usr/lib and rerunning ldconfig. > The libraries should be binary compatible. I don't know what happens there. I can think of two solutions at least to your problem: - recompile gdm and gedit so that they will be compiled against the new libs (may be you'll have to also compile other packages) - reinstall the original libraries and use the -rpath (and/or -rpath-link, see ld documentation http://www.gnu.org/software/binutils/manual/ld-2.9.1/html_node/ld_3.html#SEC3) trick to compile again the new ones (in that case, the paths to the libraries are hard-coded in the executable). Hope this will help.
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
_______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list