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

missing dependency "libgconf-2-4" #449

Closed
arakash92 opened this issue Sep 1, 2018 · 10 comments
Closed

missing dependency "libgconf-2-4" #449

arakash92 opened this issue Sep 1, 2018 · 10 comments

Comments

@arakash92
Copy link

I used the "Sqlectron_1.29.0_amd64.deb" on ubuntu 18.04 LTS and it didn't work, so I tried running it from command line and it complained about a missing dependency so I had to install it manually (libgconf-2-4).

I assume this dependency should be added to the deb file itself?

@seantcanavan
Copy link

seantcanavan commented Sep 21, 2018

It is indeed missing from the deb file. Confirming here. Found the workaround here via Google: electron/electron#1518

Error message:

/home/userwork/Downloads/Sqlectron-1.30.0
Fri Sep 21 10:34 AM Sqlectron-1.30.0: ./sqlectron 
./sqlectron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

sudo apt-get install libgconf-2-4

@DylanC
Copy link

DylanC commented Dec 2, 2018

Same bug is present in v1.30.0. Ubuntu 18.04 LTS. (amd64)

@MasterOdin MasterOdin added this to the 1.31.0 milestone May 28, 2020
@LoveSponge
Copy link

Issue present in 1.30.0 on Arch install with Pacman.
Are there any updates on this? Do we even know what is causing it?

@seantcanavan
Copy link

@LoveSponge the project is dead - switch to DBeaver: https://www.archlinux.org/packages/community/x86_64/dbeaver/

@MasterOdin
Copy link
Member

Are there any updates on this? Do we even know what is causing it?

What's causing it is that Chrome added a dependency on libgconf to function on Linux, except that it does not come with Chrome nor is it installed by default on most distros. After spending yet another day trying to get VirtualBox and Debian / Ubuntu OS to run inside of it (with both failing at different points of installation / runtime), I'm going to kick this issue and fixing it "properly" down the road to a later version and instead just update the README to say you need to install libgconf if on Linux. There's a good chance that just upgrade the version of electron / electron-builder that sqlectron uses will resolve this as well.

@LoveSponge
Copy link

LoveSponge commented Jul 29, 2020

@seantcanavan I only realised after posting my comment;
Since then i've found Beekeeper Studio (link), a great alternative with active maintinence.
Edit: Beekeeper is actually a fork of sqlectron (and a very good one), as seen on their readme.

@MasterOdin
Copy link
Member

This project does have active maintenance, though my time is split amongst a number of things.

I want to think this issue has been fixed with 1.31.0, but it's hard for me to say as at least at the moment, I do not have a Linux environment to test on natively, and my last few attempts at setting up a VirtualBox image has been met with a number of annoying problems just installing debian / ubuntu, let alone getting them to run. It will definitely be fixed in 1.32.0 as I upgrade the electron and electron-builder dependencies which should definitely force gconf to be a dependency by default of building the project.

@MasterOdin
Copy link
Member

This was fixed in #507.

@Rakeshlal791
Copy link

help I don't want to build from the source. discover says "dependency resolution failed". But it does not tell what dependency :<

@MasterOdin
Copy link
Member

@dev-rsonx what linux distribution and version are you using?

@sqlectron sqlectron deleted a comment from seantcanavan Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants