Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
max-mapper opened this issue Apr 28, 2015 · 15 comments
Closed

Comments

@max-mapper
Copy link
Contributor

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
@max-mapper
Copy link
Contributor Author

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

@zcbenz
Copy link
Contributor

zcbenz commented Apr 30, 2015

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

@Martialhimanshu
Copy link

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..

@Yogesh9900
Copy link

sudo apt -y install libgconf2-4

@Stevengu999
Copy link

It's worked for me. Ubuntu18.
Linux i386 4.18.0-20-generic #21~18.04.1-Ubuntu SMP Wed May 8 08:43:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

@nitin7068
Copy link

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

if this is not working then try with " sudo apt-get install libgconf-2-4"

@pranavsuresh7
Copy link

Yeah, this solved my issue with this. sudo apt-get install libgconf-2-4
thanks @maxogden

@NickkoG
Copy link

NickkoG commented Jan 7, 2020

I tried this but on a fresh install of LUbuntu 19.10 it don't work.

@sanket143
Copy link

What about arch linux?

@KevinWelton
Copy link

KevinWelton commented Apr 6, 2020 via email

@ZishanAdThandar
Copy link

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.

@sep2
Copy link

sep2 commented Aug 15, 2020

What about arch linux?

sudo pacman -S gconf

@gabrielxfs
Copy link

What about arch linux?

Make the AUR package.

@immortalt
Copy link

apt-get install libgconf-2-4

This works. Thanks!

@kkofler
Copy link

kkofler commented Sep 21, 2022

According to the comments on the AUR gconf package:

flying-sheep commented on 2020-01-06 19:20
Most of the packages that “require” it are actually Electron apps that copy&pasted their dependency lists from elsewhere or failed to update them: Chromium (and subsequently Electron) haven’t been dependent on this for years.

So if you still get pointed to this bug, it is probably a red herring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests