Open zhangsean opened 2 years ago
It seems a system library is missing.
Similar issue and solution (for linux): https://github.com/FeralInteractive/gamemode/issues/137
I had read the issue, but it can't fix my error.
$ brew install gcc-multilib
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "gcc-multilib".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
$ brew install build-essential
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "build-essential".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
I got the command in meson-log.txt
.
"/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -no_deduplicate -dynamic -arch x86_64 -platform_version macos 11.0.0 11.0.0 -o /Users/sean/android/scrcpy/build-auto/meson-private/sanitycheckc.exe /var/folders/bx/sfq__14j77dfhzqy29pw5pxr0000gp/T/sanitycheckc-7a195b.o -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.osx.a
ld: library not found for -lSystem
But the library follow -lSystem
is just there.
$ ls -lh /Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.osx.a
-rw-r--r-- 1 root wheel 518K 8 4 08:20 /Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.osx.a
Is there any other problem to fix?
Environment
Describe the bug Hi, I got an error when building on macOS with prebuild server.
meson-log.txt