-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[BUG] faild to complie on macOS Sonoma, Apple Silicon #306
Comments
Did you copy the libevent libraries from other system? bash build.sh init or sudo bash build.sh init |
No libevent libraries on my macos, I followed the steps above. |
What's wrong? Do you have any information? |
now it can work, thanks. |
@laofan13 could you share the solution that worked for you? |
Do you have any virtual environment tools on your system? |
Interesting. |
Describe the bug
A clear and concise description of what the bug is.
[ 24%] Built target common
[ 25%] Built target obclient
[ 78%] Built target observer_static
[ 78%] Linking CXX executable ../../bin/observer
ld: multiple errors: archive member '/' not a mach-o file in '/usr/local/lib/libevent_pthreads.a'; archive member '/' not a mach-o file in '/usr/local/lib/libevent_core.a'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/observer] Error 1
make[1]: *** [src/observer/CMakeFiles/observer.dir/all] Error 2
make: *** [all] Error 2
** Environment**
Apple clang version 15.0.0 (clang-1500.1.0.1.1)
Target: arm64-apple-darwin23.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Fast Reproduce Steps(Required)
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Actual Behavior
What is the result? picture is allowed
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: