getmango / Mango

Mango is a self-hosted manga server and web reader
https://getmango.app
MIT License
1.69k stars 118 forks source link

[Bug Report]: ARM64v8 binary not working in arm64 device #309

Closed z8512 closed 2 years ago

z8512 commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Termux'
  2. Download mango-arm64v8.o binary
  3. Run mango
  4. Get zsh: exec format error

Expected behavior The binary should run without any issue in arm64 device

Environment (please complete the following information):

Docker (if you are running Mango in a Docker container)

Additional context Add any other context about the problem here. Add screenshots if applicable. Termux app

hkalexling commented 2 years ago

Hey thanks for the detailed report. The .o file is an object file and not an executable. Running Mango on ARM devices is a bit more involved and would require docker. See https://github.com/hkalexling/Mango/wiki/Platform-Support