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

Install failed: cannot execute: required file not found #460

Open
mengzhuo opened this issue Nov 6, 2024 · 0 comments
Open

Install failed: cannot execute: required file not found #460

mengzhuo opened this issue Nov 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mengzhuo
Copy link

mengzhuo commented Nov 6, 2024

I'm an Alpine user but can't install moonbit by following document instruction
https://www.moonbitlang.com/download/#moonbit-cli-tools

# uname -a
Linux alpine-bdr 6.6.58-0-lts moonbitlang/core#1-Alpine SMP PREEMPT_DYNAMIC 2024-10-23 07:02:12 x86_64 Linux
# cat /etc/os-release 
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.20.3
PRETTY_NAME="Alpine Linux v3.20"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"

It looks like moonbit depends on glibc?

curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash
Downloading moonbit ...
######################################################################## 100.0%
Downloading core ...
######################################################################## 100.0%
Bundling core ...
bash: line 165: /root/.moon/bin/moon: cannot execute: required file not found
error: Failed to bundle core
alpine-bdr:~# /root/.moon/bin/moon
bash: /root/.moon/bin/moon: cannot execute: required file not found
alpine-bdr:~# ldd /root/.moon/bin/moon
        /lib64/ld-linux-x86-64.so.2 (0x7f76b0a8a000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7f76b0a66000)
        librt.so.1 => /lib64/ld-linux-x86-64.so.2 (0x7f76b0a8a000)
        libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f76b0a8a000)
        libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f76b0a8a000)
        libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f76b0a8a000)
        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f76b0a8a000)
Error relocating /root/.moon/bin/moon: gnu_get_libc_version: symbol not found
Error relocating /root/.moon/bin/moon: __fprintf_chk: symbol not found
Error relocating /root/.moon/bin/moon: __poll_chk: symbol not found
Error relocating /root/.moon/bin/moon: makecontext: symbol not found
Error relocating /root/.moon/bin/moon: setcontext: symbol not found
Error relocating /root/.moon/bin/moon: __register_atfork: symbol not found
Error relocating /root/.moon/bin/moon: __memcpy_chk: symbol not found
Error relocating /root/.moon/bin/moon: __vfprintf_chk: symbol not found
Error relocating /root/.moon/bin/moon: __res_init: symbol not found
Error relocating /root/.moon/bin/moon: __memset_chk: symbol not found
Error relocating /root/.moon/bin/moon: getcontext: symbol not found
Error relocating /root/.moon/bin/moon: __sprintf_chk: symbol not found
Error relocating /root/.moon/bin/moon: __fdelt_chk: symbol not found
@Lampese Lampese added the bug Something isn't working label Nov 6, 2024
@bzy-debug bzy-debug transferred this issue from moonbitlang/core Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants