-
Notifications
You must be signed in to change notification settings - Fork 9
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
import error #8
Comments
On Ubuntu GNU/Linux (and probably other similar systems), you need to call ctypes.util.find_library without the "lib" prefix.
Hello,
The official documentation of Python ctypes says that
The ctypes.util.find_library() is very system dependent. I think that it's not suitable for dynamic loading of library with name known already. So I coded like this;
(I've tested this in Ubuntu Linux and M1 macos and not in cygwin) Would you fix this problem? Thank you. |
Thanks @terzeron it fixed the issue for me (also on a silicon mac). |
I think it has to do with the version of python the user runs. By default, However, the brew version of python has an additional search path injected on top of this line in the canonical cpython to make it search under @nayyarv's fix won't work for cases where the libs aren't on the search path either. Homebrew/brew#13481 seems to suggest there's no generic way to make brew-installed libraries globally available. |
By
from fswatch import Monitor
The error is : undefined symbol: fsw_init_library
What happens and how to resolve it?
Thanks a lot .
The text was updated successfully, but these errors were encountered: