[SOLVED] Re: Gnome-shell segfault: "Can't init class Variant"
- From: Amy C <mathematical coffee gmail com>
- To: Clemens <clemens lab21 org>
- Cc: gnome-shell-list gnome org
- Subject: [SOLVED] Re: Gnome-shell segfault: "Can't init class Variant"
- Date: Tue, 7 Aug 2012 14:05:54 +1000
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.)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]