-
Notifications
You must be signed in to change notification settings - Fork 26
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
Could not open library 'clang' #20
Comments
I don't remember exactly in which package libclang.so is. You can use apt-file to find out: |
On Debian, at least, there is no |
was libclang-dev for me |
We need Dockerfile for testing. There's no way all contributors need to setup dylibs first. |
@sheerun that's a consideration for OSX, right? |
Not only OSX. It's not easy to get reproducible environment even on Linux. |
In the end, ffi_gen should run on the system itself, so while a Dockerfile may streamline development (I have no experience with that), things should also work without. |
Yes, of course. Dockerfile is only for development. |
On Debian and derivatives (with recent LLVM at least), due to multilib, the file is located in |
@whitequark We still need dockerfile. Can you repopen this issue or create new issue? |
@sheerun I don't understand the value provided by this... contributors are a small subset of users, and users will have to figure out the OS packaging anyway. |
So it's easier for contributors to write test cases and pull-requests regardless of OS. e.g. I use OSX. |
Currently it's really hard to re-produce environment for testing.. Correct libraries, correct library versions, correct paths, correct ENV.. |
But it's OK to require users to reproduce the environment in some other way? |
Is it a question? I tried really hard, but I can't reproduce tests on pure OSX. |
Oh... I've completely missed the fact that tests use a bunch of odd libraries. Sorry for the noise. See #31. |
Not sure if this is an issue with ffi-gen or not but when I try and run ffi-gen I get the following error:
Mind helping me out? I'm on Ubuntu and installed clang with
apt-get
but not sure what else i need to do to get it working.Thanks!
The text was updated successfully, but these errors were encountered: