Post

Replies

Boosts

Views

Activity

Command line c code running error - dyld: Library not loaded: usr/lib/libSystem.B.dylib
Hello there, I have an M1 macbook with updated big sur 11.1 The basic hello.c compiled by clang runs fine but when I did some other multi c files it failed with "Library not loaded: usr/lib/libSystem.B.dylib" running error message. Most time I got this error, but somehow it worked once. When I did Xcode with swift sample compiling it works great. The other iMac with the newest big sur works fine when I did the same testing! I know big sur removed lib files, but this is so weird along with iMac testing. Thanks for your time.
5
0
3.2k
Dec ’20