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

Can't run MacChatScript on M1 Macbook Pro #68

Open
jaredsain opened this issue Aug 29, 2022 · 2 comments
Open

Can't run MacChatScript on M1 Macbook Pro #68

jaredsain opened this issue Aug 29, 2022 · 2 comments

Comments

@jaredsain
Copy link

Trying to run ./MacChatScript local results in the following error: zsh: killed ./MacChatScript local. Preliminary search suggests this might be caused by the binary not being code signed. Are there known workarounds?

@jaredsain
Copy link
Author

If anyone else stumbles upon this, the workaround is to open a Terminal w/ Rosetta and then run ./MacChatScript local from that Terminal. I followed Step 1 of the instructions on this page: https://www.courier.com/blog/tips-and-tricks-to-setup-your-apple-m1-for-development/ and was able to get up and running.

@MuZiLee
Copy link

MuZiLee commented Feb 17, 2023

Mine is an i386 mac book pro;
MacOSX Version: 13.1

errors!!!

➜  SRC git:(master) ✗ sudo make       
Password:
Sorry, try again.
Password:
2023-02-17 08:58:44.524 defaults[52232:5882517] 
The domain/default pair of (loginwindow, SystemVersionStampAsString) does not exist
************ MAC VERSION SXRELEASE detected ************
Linking binary
g++ constructCode.o csocket.o cs_ev.o cs_es.o cs_german.o cs_jp.o dictionarySystem.o duktape/duktape.o english.o englishTagger.o evserver.o factSystem.o functionExecute.o infer.o javascript.o jsmn.o json.o mainSystem.o markSystem.o mongodb.o mssql.o mysql.o os.o outputSystem.o patternSystem.o postgres.o privatesrc.o scriptCompile.o secure.o spellcheck.o systemVariables.o tagger.o testing.o textUtilities.o tokenSystem.o topicSystem.o userCache.o userSystem.o variableSystem.o zif.o -mmacosx-version-min=10.9 -lcurl -pthread -lodbc -lmsodbcsql.17 -lz -liconv -lmecab -L../BINARIES -lmactreetagger -Ievserver -o ../BINARIES/ChatScriptDebug
ld: library not found for -lodbc
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [binary] Error 1

@jaredsain Do you know how to solve it?

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

2 participants