MLev
MLev

Reputation: 435

Visual Studio Code Install Issue on Ubuntu 17.04: Missing libgconf-2.so.04: No such file or directory

After installing Visual Studio Code on Ubuntu 17.04 through the instructions on the website, I tried to run the program through the command line via ~$ code, but I received the following error message:

/usr/share/code/bin/../code: error while loading shared libraries: 
libgconf-2.so.4: cannot open shared object file: No such file or directory

How do I get Visual Studio Code to run?

Upvotes: 2

Views: 3818

Answers (1)

MLev
MLev

Reputation: 435

I was able to get it to run by installing the required dependency program by typing ~$ sudo apt-get install libgconf-2-4 and then by running ~$ code again. This time Visual Studio Code opened with no issues. This answer is based on one of the answers to a similar question posted here.

Upvotes: 3

Related Questions