SA-MP Forums Archive
SA:MP on "Bash on Ubuntu on Windows" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Discussion (https://sampforum.blast.hk/forumdisplay.php?fid=84)
+---- Thread: SA:MP on "Bash on Ubuntu on Windows" (/showthread.php?tid=617147)



SA:MP on "Bash on Ubuntu on Windows" - SimonItaly - 16.09.2016

Hello.
Has anyone tried to run SA:MP on WSL yet?

"Bash on Ubuntu on Windows", also known as "Windows Subsystem for Linux" is a feature available on Windows 10 Anniversary Update.
It provides a compatibility layer for running Linux binary executables, but it's only available on 64-bit Windows and in a 64-bit version.

Unfortunately it doesn't seem capable to run samp03svr correctly.
I've already added i386 as a foreign architecture and installed "lib32stdc++6" (and a lot of other libraries) trying to make it work.



In English: bash: ./samp03svr: cannot execute binary file: Exec format error

I've already set up dozen of Linux-based SA:MP server and I currently have three VMs successfully running samp03svr (Debian 32/64, Ubuntu 64), so don't suggest me to try with a VM. It's just an experiment with this new feature.


Re: SA:MP on "Bash on Ubuntu on Windows" - Spmn - 16.09.2016

WSL is currently able to run 64 bit executables only.
https://wpdev.uservoice.com/forums/2...-to-the-kernel


Re: SA:MP on "Bash on Ubuntu on Windows" - SimonItaly - 16.09.2016

I've been googling all day and I couldn't find these specific threads on UserVoice and GitHub. I guess I'll have to wait and see if this feature gets implemented.
Thanks!