fermyon / cloud-plugin

A Spin plugin for the Spin CLI for managing Spin apps in Fermyon Cloud.
https://developer.fermyon.com/cloud/
Apache License 2.0
8 stars 13 forks source link

`spin login` fails on WSL with `/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found` #87

Closed janpio closed 1 year ago

janpio commented 1 year ago

I just installed Spin in WSL (Ubuntu 20.04 on Windows), and am getting this error on spin login:

/home/janpio/.local/share/spin/plugins/cloud/cloud: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/janpio/.local/share/spin/plugins/cloud/cloud)

Am I doing it wrong (besides using Windows...)? Any idea how I can overcome this?


karthik2804 commented 1 year ago

Hey @janpio, I have transferred the issue to the appropriate repo. It looks like the cloud plugin is being built using ubuntu 22.04 which produces binaries incompatible with ubuntu 20.04. I have opened a PR to fix it.

karthik2804 commented 1 year ago

@janpio We have just merged a fix - you can install the canary plugin using the following command

spin plugins install -u https://github.com/fermyon/cloud-plugin/releases/download/canary/cloud.json --yes
janpio commented 1 year ago

Yay, that worked:

janpio@Surface-Studio:~$ ./spin login

Copy your one-time code:

...

Thanks for the quick fix!

(And also for moving the issue, I was not suuuuper sure which part was doing things here - but now I of course see spin/plugins/cloud. Thanks.)