electron: Linux: ./electron: error while loading shared libraries: libgconf-2.so.4

to reproduce:

$ wget https://github.com/atom/electron/releases/download/v0.25.1/electron-v0.25.1-linux-x64.zip
$ unzip electron-v0.25.1-linux-x64.zip
$ ./electron
./electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

this is on Ubuntu:

$ uname -a
Linux burrito 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 15 (2 by maintainers)

Most upvoted comments

workaround is apt-get install libgconf-2-4 but I figured since this isn’t mentioned anywhere in the docs or previous issues it might be a bug

Try this trick, It worked for me: after unzipping postman type following command in your terminal sudo apt-get install libgconf-2-4 after running above command your postman will work for definitely. Surving to Ubuntu happily…

After Chrome 42 libgconf has become a requirement for running on Linux.

What about arch linux?

Here is the simplest solution

sudo ln -s /usr/lib/libre2.so /usr/lib/libre2.so.4

Replace the last digit as in error.

LIKE THIS COMMENT IF IT SOLVES THE ISSUE.

What about arch linux?

sudo pacman -S gconf

sudo apt -y install libgconf2-4

What about arch linux?

Make the AUR package.