obliv-c icon indicating copy to clipboard operation
obliv-c copied to clipboard

issue when install on mac osx

Open lingering opened this issue 6 years ago • 2 comments

i got the same error as #36 . now my xcode version is 11.1 and i found the TRUE error occurs in ld commmand

ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS) ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd Undefined symbols for architecture i386: "___stderrp", referenced from: _main in machdep-ml-ba23e6.o "_exit", referenced from: _main in machdep-ml-ba23e6.o "_fprintf", referenced from: _main in machdep-ml-ba23e6.o "_printf", referenced from: _main in machdep-ml-ba23e6.o "_strchr", referenced from: _underscore in machdep-ml-ba23e6.o "_strcmp", referenced from: _main in machdep-ml-ba23e6.o "_strdup", referenced from: _underscore in machdep-ml-ba23e6.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) if gcc -D_GNUCC -m64 src/machdep-ml.c -o _build/machdep-ml64.exe ;then \ sed -e "s|nogcc64model|_build/machdep-ml64.exe --env|" lib/perl5/App/Cilly.pm > lib/perl5/App/Cilly.pm.tmp; \ mv lib/perl5/App/Cilly.pm.tmp lib/perl5/App/Cilly.pm; \ fi

how can I make this right?

lingering avatar Oct 12 '19 03:10 lingering

I have previously played with Obliv-C on MacOS. There are just too many differences between Linux and MacOS in many aspects. Therefore, I would strongly recommend you to use Linux instead of MacOS for development.

weikengchen avatar Oct 12 '19 03:10 weikengchen

Hi, thanks for your interest. I don't actually have a Mac to reproduce this error, so I've been mostly relying with other Mac OS users here for troubleshooting. Do you want to reach out to some of the other users here so they can guide you better?

samee avatar Oct 12 '19 18:10 samee