Fixed.

I tried Giovanni's recommenation of reinstalling gjs (which didn't
work), and also running `gjs-console -c "imports.gi.GLib"` from within
gdb (which threw the error but did not give further information, but
admittedly I am extremely new to gdb so am probably not using it as it
should be).

I then tried Clemens' suggestion of logging in as a different user to
eliminate per-user configuration as a problem and guess what? No error
from a fresh user!!

Trial and error showed that this line in my .bashrc was the problem:

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

This has been in my .bashrc for many months (for compiling some
separate code) and this is the first time I had problems with it --
one of the fedora updates must have modified something in there that
somehow interfered with GLib.

Anyhow, I could just remove this line as the reason I put it in
(compiling some particular library) is no longer necessary, but this
also worked

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

cheers all! (And thanks for reminding me about trying with a fresh
user Clemens - it should be one of the first things I try.)
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-shell-list

Reply via email to