-
Notifications
You must be signed in to change notification settings - Fork 712
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
update requirements for OpenBSD #2838
Comments
Any updates on this? |
What do yo mean "update" ? |
I need to install langchainrb basically. I'll follow your setup, many thanks man! |
I think this command will work (or something similar)
you can also try to run Make sure you installed the version 17 of LLVM before, by running BTW, I am curious why all those AI projects are running on Ruby, and why you guys are choosing OpenBSD as an OS for your AI stuff ? I love OpenBSD, just didn't know it is used for LLM. Is there a specific reason? |
To me Ruby is mankind's greatest achievement so far in programming, and Rails is the best way of organizing it into a web framework. It's like Python's little brother. Same concepts basically, but with a modernized syntax and package system.
The biggest obstacle to OpenBSD is its lack of NVidia drivers, but we're working on it! |
Ah nice! Yes I love OpenBSd, the best OS for security and simplicity. |
BTW, if the fix works for you, you should talk to the maintainers of langchainrb and tiktoken_ruby because they need to upgrade their build scripts for openbsd (change the LIBCLANG_PATH env var) |
We'd take a pr with the doc fix fwiw, but an even better approach might be to teach clang-sys about where libclang is in openbsd |
You are right that it is not a rust-bindgen issue, but a clang-sys one. |
closed as KyleMayes/clang-sys#180 was opened. The readme already mentions what to do to point to the right libclang path. |
Hello,
Since OpenBSD 7.4 the libclang path has changed.
users have to make sure they install the port of llvm by running
pkg_add llvm
.And then, depending on the version that was chosen for install, the path for the dynamic library varies.
by example, for the 17 version, it should be
this is the solution for all users encountering the error :
The text was updated successfully, but these errors were encountered: