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

issue when install on mac osx #91

Open
lingering opened this issue Oct 12, 2019 · 2 comments
Open

issue when install on mac osx #91

lingering opened this issue Oct 12, 2019 · 2 comments

Comments

@lingering
Copy link

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?

@weikengchen
Copy link
Contributor

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.

@samee
Copy link
Owner

samee commented Oct 12, 2019

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?

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

3 participants