khoj-ai / khoj

Your AI second brain. Get answers to your questions, whether they be online or in your own notes. Use online AI models (e.g gpt4) or private, local LLMs (e.g llama3). Self-host locally or use our cloud instance. Access from Obsidian, Emacs, Desktop app, Web or Whatsapp.
https://khoj.dev
GNU Affero General Public License v3.0
12.64k stars 640 forks source link

Installation of khoj Backend under Big Sur as its launch results in the same error message #435

Closed fdarnel closed 11 months ago

fdarnel commented 1 year ago

macOS 11.7.9, MacBook Intel, Python 3.11 (python.org). Trying to install then lauch Backend to use with Obsidian plugin. Installation and lauch end with : OSError: dlopen(/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/gpt4all/llmodel_DO_NOT_MODIFY/build/libllmodel.dylib, 6): Symbol not found: ZNSt3113basic_filebufIcNS_11char_traitsIcEEE4openEPKcj Referenced from: /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/gpt4all/llmodel_DO_NOT_MODIFY/build/libllmodel.dylib (which was built for Mac OS X 12.6) Expected in: /usr/lib/libc++.1.dylib

debanjum commented 1 year ago

That's unfortunate. Seems like the package is expecting c++ installed in a specific place (/usr/lib/libc++.1.dylib). Can you confirm:

debanjum commented 11 months ago

Closing issue due to lack of details to reproduce bug and issue having gone stale