-
Notifications
You must be signed in to change notification settings - Fork 184
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
Module "magic" Not Working On macOS #153
Comments
Everything works if the build is dynamically linked to the installed libyara: |
This is expected. The magic module is not on by default, and you did not tell pip to build with that option.
This part is a local problem and is likely because you built yara-python from src without having the yara submodule, so it used whatever old version of libyara it found laying around your system which does not include the necessary symbols (yr_compiler_add_file). When you clone yara-python clone it with the --recursive flag. |
The above problem is likely the same occurrence as #8 Just to make it clear for other people who encounter this problem, It would be nice to craft a method where a
|
When installing
yara-python
usingpip
on macOS, the following exception is raised:This is the YARA test file:
This is the Python testing script:
If
yara-python
is installed from source, the following exception is raised:Here are the steps I used to install from
pip
:Here are the steps I used to install from source:
The text was updated successfully, but these errors were encountered: