question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing gconf2 dependency for Ubuntu 17.04: libgconf-2.so.4 error

See original GitHub issue

Error:

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:closed
  • Created 5 years ago
  • Reactions:10
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
flotwigcommented, Jun 26, 2019

@oupala You can install it by installing the libgconf-2-4 package: https://packages.debian.org/search?mode=exactfilename&suite=stretch&section=all&arch=any&searchon=contents&keywords=libgconf-2.so.4

To fix this issue, perhaps we should detect if the user has missing dependencies in the CLI, and then warn them? Something like:

To run Cypress, please install missing dependencies on your system:

sudo apt install libgconf-2-4 libasound2...

…because right now, it’s not very well-documented.

3reactions
morrieinmaascommented, Jan 7, 2019

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 run npm i cypress --save-dev without further warnings. Would agree with @craigiansmith

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found