Vscode: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

Created on 24 Nov 2016  路  6Comments  路  Source: microsoft/vscode

  • VSCode Version: code-insiders-1.8.0-1479970836.el7.x86_64
  • OS Version: CentOS Linux release 7.2.1511 (Core)

Steps to Reproduce:

  1. install code rpm from insiders build on CentOS minimal
  2. try to launch it from cli

Installing GConf2 fixes it ( yum install GConf2 ).

maybe should be a dep in the rpm spec file.

Most helpful comment

The exact same problem occurs on Elementary OS (based on Ubuntu). Running sudo apt install gconf2 fixes the issue. It's most likely the same missing dependency problem in the .Deb file.

All 6 comments

hello @xadhoom

would love more information on the _minimal install_ aspect for your use case. To clarify, are you starting with a "minimal installation" and then installing x11 after the fact ?

centosminimalinstall

Yes,

and after that I just install the basic fonts and xorg xauth because I ssh into the devel box
and use the editor via X11 forwarding.

I've done this with other editors and is pretty handy, so I can avoid copying/checking out code from the workstation to the devel box (I write stuff meant to run over CentOS 7)

The exact same problem occurs on Elementary OS (based on Ubuntu). Running sudo apt install gconf2 fixes the issue. It's most likely the same missing dependency problem in the .Deb file.

@Nashenas88 this should be fixed in 1.9

Hello, I had the same problem on openSUSE 42.1, when I ran sudo zypper install GConf2 the problem was solved. Btw I downloaded the .rpm file.

On ArchLinux pacman -S gconf

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sijad picture sijad  路  3Comments

omidgolparvar picture omidgolparvar  路  3Comments

DovydasNavickas picture DovydasNavickas  路  3Comments

chrisdias picture chrisdias  路  3Comments

mrkiley picture mrkiley  路  3Comments