libgconf-2.so.4 error running electron in tails

October 11, 2017 at 10:43 pm | Posted in Uncategorized | Leave a comment

I am experimenting with electron to write some quick and dirty cross-platform apps (I am not a fan of this architecture, but I’ll save that for another blog post) . So I tried to run my electron client on tails, and it gave me this error:

Linux: ./electron: error while loading shared libraries:
libgconf-2.so.4: cannot open shared object file: No such file or directory.

Hmmm. I looked into it further and it seems that libgconf is a needed
dependency on chrome these days. Upgrading from Tails 3.0 to 3.2 somehow
broke this dependency. The library is “there”, but electron is somehow
not seeing it.

Solution: create a symlink to
/lib/live/mount/rootfs/filesystem.squashfs/usr/lib/x86_64-linux-gnu/libgconf-2.so.4
to my electron directory. Apparently, the electron binary looks for
shared libraries starting in it’s home directory. So if you symlink
libgconf-2.so.4 to the electron base directory, it will “find” it.

The tails maillist doesn’t seem to be active anymore and there is no
good support for tails, so I thought I would post this up there just in
case some poor guy runs into the same problem I ran into.

Advertisements

Create a free website or blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: