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

Error while loading shared libraries #519

Closed
JimiPedros opened this issue Aug 12, 2021 · 4 comments
Closed

Error while loading shared libraries #519

JimiPedros opened this issue Aug 12, 2021 · 4 comments

Comments

@JimiPedros
Copy link

JimiPedros commented Aug 12, 2021

Ubuntu 20.04.2 LTS

Steps to reproduce:

  • clone electron quick start
  • yarn
  • yarn start

Result:

/node_modules/electron/dist/electron: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory
error Command failed with exit code 127.
@ckerr
Copy link
Member

ckerr commented Oct 18, 2021

I think this is a duplicate of #486

@genru
Copy link

genru commented Feb 25, 2022

if you are running on wsl system. here would help #486 (comment)

@giuliohome
Copy link

if you are running on wsl system. here would help #486 (comment)

Nope, look at my comment there instead for WSL

@ackvf
Copy link

ackvf commented Sep 13, 2024

Nope, look at my comment there instead for WSL

I confirm that installing chrome under WSL works out of the box and might be a better cross-platform solution than combining WSL with platform=win32, which, as others reported, might not even work for some.

sudo apt update
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt-get install -f
google-chrome --version

note: Installing from the .deb package will give dependency issues, so just run the next command, which will install the missing dependencies.

If it doesn't work after running all the commands, follow the link in the original post above for troubleshooting.

note: I didn't need to install Windows X server.

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

5 participants