You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Linux: ./electron: error while loading shared libraries: libgconf-2.so.4 #1518
$ 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
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
Reacted by Sagie Maoz, Salathiel Genese, Shiva T. Kota, &MF#CTg*fWz6H^nV, beevabeeva, Chen Qiqing, Norman Pellet, Václav Makeš, SeppPenner, imharvol and 180 more
Reacted by Adnan Abdollah Zaki, SaundersB, Pierre Hubert, Ta-Dah, AntoniaMouawad, xpriori, Timothy Mwirabua, Trần Quốc Long, Christopher Murphy, Stefan Romberg and 5 more
Reacted by vasyl-shumskyi, Ariq Naufal, Justin Barnyak, Adnan Abdollah Zaki, SaundersB, AntoniaMouawad, SalvadorRomero, Timothy Mwirabua, Trần Quốc Long, Christopher Murphy and 10 more
Reacted by Pierre Hubert, Edoardo La Greca and Haitam BOUKAA
Reacted by Adnan Abdollah Zaki, Amir H. Farzaneh, GagandeepS, SaundersB, Sergey Dunaevskiy, Evan Ciancio, Tobias K. Joergensen, HeshamEG, Md. Foridur Kayes Shawon, Timothy Mwirabua and 16 more
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..
Reacted by Adam Studdard, GagandeepS, Ronnie Isurina, Ganendra Afrasya, loudedtwist, AntoniaMouawad, Daniela Narvaez, Kyle Spearrin, Evgeny Mokeev, Abhinav and 17 more
What exactly requires libgconf? Electron? We don't want users to have to
depend on _any_ external library being installed separately from Unity. CEF
used to require this in the editor, but the CEF dependency is finally gone.
I don't think _any_ of our supported distros (*only *Ubuntu 16.04/18.04 and
CentOS 7) have libgconf installed by default.
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.
Activity
max-mapper commentedon Apr 28, 2015
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 bugzcbenz commentedon Apr 30, 2015
After Chrome 42 libgconf has become a requirement for running on Linux.
Martialhimanshu commentedon Feb 11, 2018
Try 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..
Yogesh9900 commentedon Mar 25, 2019
sudo apt -y install libgconf2-4
Stevengu999 commentedon May 23, 2019
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 commentedon Jul 30, 2019
if this is not working then try with " sudo apt-get install libgconf-2-4"
pranavsuresh7 commentedon Oct 24, 2019
Yeah, this solved my issue with this. sudo apt-get install libgconf-2-4
thanks @maxogden
NickkoG commentedon Jan 7, 2020
I tried this but on a fresh install of LUbuntu 19.10 it don't work.
sanket143 commentedon Apr 3, 2020
What about arch linux?
KevinWelton commentedon Apr 6, 2020
ZishanAdThandar commentedon Jul 22, 2020
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.
sep2 commentedon Aug 15, 2020
sudo pacman -S gconfgabrielxfs commentedon Feb 12, 2021
Make the AUR package.
immortalt commentedon Aug 12, 2021
This works. Thanks!
kkofler commentedon Sep 21, 2022
According to the comments on the AUR
gconfpackage:So if you still get pointed to this bug, it is probably a red herring.