yuk7 / ArchWSL

ArchLinux based WSL Distribution. Supports multiple install.
https://git.io/archwsl
MIT License
6.92k stars 201 forks source link

GLIBC_2.34 not found #280

Closed Ritzier closed 2 years ago

Ritzier commented 2 years ago

/usr/lib/libc.so.6: version `GLIBC_2.34' not found

saltyfireball commented 2 years ago

This comment should solve this for you. after installation follow this:

  1. Do not install the glibc-linux4 package.
  2. don't perform updates or anything yet.
  3. Exit Arch

Now switch to wsl version 2 https://github.com/yuk7/ArchWSL/issues/269#issuecomment-1050814035

I have the same question and I attemp a lot of command. Finally .\Arch.exe config --wsl-version 2 solve my problem. Run the command in your Archwsl directory.

Ritzier commented 2 years ago

Thanks for reply, switch to WSL2 everythings okay

L1ghtingBolt commented 2 years ago

This comment should solve this for you. after installation follow this:

  1. Do not install the glibc-linux4 package.
  2. don't perform updates or anything yet.
  3. Exit Arch

Now switch to wsl version 2 #269 (comment)

I have the same question and I attemp a lot of command. Finally .\Arch.exe config --wsl-version 2 solve my problem. Run the command in your Archwsl directory.

ERR: exit status 4294967295 That's what I get with the command

salvomcl commented 2 years ago

This comment should solve this for you. after installation follow this:

  1. Do not install the glibc-linux4 package.
  2. don't perform updates or anything yet.
  3. Exit Arch

Now switch to wsl version 2 #269 (comment)

I have the same question and I attemp a lot of command. Finally .\Arch.exe config --wsl-version 2 solve my problem. Run the command in your Archwsl directory.

ERR: exit status 4294967295 That's what I get with the command

same issue for me as well. I think it's raised because we are already using wsl 2.

The /usr/lib/libc.so.6: version 'GLIBC_2.34' not found error appear after I installed curl with sudo pacman -S curl and now it's raised both running the commands curl and pacman.

I'm using Windows 10 pro 19044.1706

SOLVED I opened a PR about it https://github.com/wsldl-pg/ArchW-docs/pull/35. In order to solve this issue, I needed to upgrade the system before install curl.