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

An error occurred while generating a macOS ARM dynamic library (dylib) beacon on an AMD64 Linux server. #1823

Open
Ryze-T opened this issue Nov 29, 2024 · 0 comments

Comments

@Ryze-T
Copy link

Ryze-T commented Nov 29, 2024

generate beacon --arch arm64 --os macos --mtls 198.19.249.138:3306 --save ./macos.dylib

rpc error: code = Unknown desc = exit status 1

At ~/.sliver/logs/sliver.log:

cgo: C compiler "/opt/osxcross/target/bin/aarch64-apple-darwin20.2-clang" not found

Then install osxcross and errors occurred again:

/home/test/.cache/garble/tool/link: running /opt/osxcross/target/bin/aarch64-apple-darwin20.2-clang failed: exit status 1
/usr/bin/ld: unrecognised emulation mode: llvm
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu i386pep i386pe
clang: error: linker command failed with exit code 1 (use -v to see invocation)
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

1 participant