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)
workaround is
apt-get install libgconf-2-4but I figured since this isn’t mentioned anywhere in the docs or previous issues it might be a bugTry this trick, It worked for me: after unzipping postman type following command in your terminal
sudo apt-get install libgconf-2-4after 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.4Replace the last digit as in error.
LIKE THIS COMMENT IF IT SOLVES THE ISSUE.
sudo pacman -S gconfsudo apt -y install libgconf2-4
Make the AUR package.