-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Build error on Ubuntu Xenial with yara3.4 #27
Comments
Uh-oh. I must have introduced that incompatibility when I rewrote the callback code in Go. Please check if commit ffb2dee fixes the problem for you. |
Thanks for the quick followup! But, doesn't seem to work yet:
|
With some trial and error I produced a static Linux GO build based on the latest Yara (3.7.1). If anyone else is interested: Build Yara:
Build go-yara:
Build your client:
My resulting executable is ~4MB and can be run on systems without libyara. PS I don't use the crypto/hash features of Yara. |
Thanks for your continued effort! Much appreciated. Building go-yara now succeeds (using
Your README.md suggests that it is looking at the wrong libyara files, but I have purged any manually installed version and ensured with strace that no other libyara files are accessed during the build process than the Ubuntu install:
The referenced header file contains:
|
@gwillem Instead of (The go toolchain hides the fact that behind the scenes, |
Success! Thanks so much! I've rewritten parts of my text search app to use Yara. The performance has improved somewhat 😄:
|
Any ideas? Thanks for making this available!
The text was updated successfully, but these errors were encountered: