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

关于i686 #2

Closed
liusy58 opened this issue Jan 17, 2021 · 2 comments
Closed

关于i686 #2

liusy58 opened this issue Jan 17, 2021 · 2 comments

Comments

@liusy58
Copy link

liusy58 commented Jan 17, 2021

你好,请问你是怎么在ubuntu上面运行i686的代码的呀,我这边一直报错

@liusy58 liusy58 closed this as completed Jan 19, 2021
@liusy58
Copy link
Author

liusy58 commented Jan 19, 2021

wsl 有毒

@Doraemonzzz
Copy link

@liusy58
wsl好像不支持,要使用wsl2,然后运行如下指令

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

我这边已经运行成功了。

参考资料:
https://stackoverflow.com/questions/42120938/exec-format-error-32-bit-executable-windows-subsystem-for-linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants