在macOS下,执行安装指令 curl -fsSL https://xmake.io/shget.text | bash 报错 library 'pthread' not found
Expected Behavior
预期正常安装
Project Configuration
no
Additional Information and Error Logs
compiling.release core/src/xmake/string/startswith.c
compiling.release core/src/xmake/string/trim.c
compiling.release core/src/xmake/tty/term_mode.c
linking.release build/macosx/x86_64/release/libxmake.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: build/macosx/x86_64/release/libxmake.a(curses.c.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: build/macosx/x86_64/release/libxmake.a(iscygpty.c.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: build/macosx/x86_64/release/libxmake.a(history_list.c.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: build/macosx/x86_64/release/libxmake.a(readline.c.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: build/macosx/x86_64/release/libxmake.a(clear_history.c.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: build/macosx/x86_64/release/libxmake.a(add_history.c.o) has no symbols
compiling.release core/src/demo/xmake.c
linking.release build/xmake
ld: library 'pthread' not found
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [makefile:2617: build/xmake] Error 1
make failed!
Xmake Version
v2.9.2
Operating System Version and Architecture
macOS 14.5
Describe Bug
在macOS下,执行安装指令
curl -fsSL https://xmake.io/shget.text | bash
报错library 'pthread' not found
Expected Behavior
预期正常安装
Project Configuration
no
Additional Information and Error Logs
compiling.release core/src/xmake/string/startswith.c compiling.release core/src/xmake/string/trim.c compiling.release core/src/xmake/tty/term_mode.c linking.release build/macosx/x86_64/release/libxmake.a /Library/Developer/CommandLineTools/usr/bin/ranlib: file: build/macosx/x86_64/release/libxmake.a(curses.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: build/macosx/x86_64/release/libxmake.a(iscygpty.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: build/macosx/x86_64/release/libxmake.a(history_list.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: build/macosx/x86_64/release/libxmake.a(readline.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: build/macosx/x86_64/release/libxmake.a(clear_history.c.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: build/macosx/x86_64/release/libxmake.a(add_history.c.o) has no symbols compiling.release core/src/demo/xmake.c linking.release build/xmake ld: library 'pthread' not found clang-13: error: linker command failed with exit code 1 (use -v to see invocation) gmake: *** [makefile:2617: build/xmake] Error 1 make failed!