Missing gconf2 dependency for Ubuntu 17.04: libgconf-2.so.4 error
See original GitHub issueError:
Cypress: error while loading shared libraries: libgconf-2.so.4: cannot open shared \
object file: No such file or directory
Ubuntu 17.04 doesn’t ship anymore by default gconf2 (it uses dconf), so on a fresh Ubuntu 17.04 install you get this error after starting cypress
You’ll need to install the missing library:
sudo apt install libgconf-2-4
Issue Analytics
- State:
- Created 5 years ago
- Reactions:10
- Comments:14 (6 by maintainers)
Top Results From Across the Web
shared libraries libgconf-2.so.4 is missing
I am using Ubuntu x64 and yum didn't work for me. But I found somebody mentioning simply use $sudo apt install libgconf-2-4 worked...
Read more >A brand new website interface for an even better experience!
Missing gconf2 dependency for Ubuntu 17.04 : libgconf-2.so.4 error.
Read more >Bug #1690641 “package gconf2-common 3.2.6-3ubuntu7 ...
newb here. i see a bug, im gonna report it. ProblemType: Package DistroRelease: Ubuntu 17.04. Package: gconf2-common 3.2.6-3ubuntu7
Read more >error while loading shared libraries: libgconf-2.so.4
This error is most likely due to a recent change in a package for Google Chrome - it no longer pulls in libgconf-2-4...
Read more >Software Packages in "jammy", Subsection libs
... gconf2 (3.2.6-7ubuntu2) [universe]: GNOME configuration database system (support ... libdee-1.0-4 (1.2.7+17.10.20170616-6ubuntu4): Model to synchronize ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@oupala You can install it by installing the
libgconf-2-4
package: https://packages.debian.org/search?mode=exactfilename&suite=stretch§ion=all&arch=any&searchon=contents&keywords=libgconf-2.so.4To fix this issue, perhaps we should detect if the user has missing dependencies in the CLI, and then warn them? Something like:
…because right now, it’s not very well-documented.
I had the same/similar issue installing cypress on Arch Linux. Installing the (deprecated) gconf package via e.g.
pacman -S gconf
then allows to runnpm i cypress --save-dev
without further warnings. Would agree with @craigiansmith