Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

cannot make build #120

Closed
verybigelephants opened this issue Dec 13, 2022 · 7 comments
Closed

cannot make build #120

verybigelephants opened this issue Dec 13, 2022 · 7 comments
Assignees

Comments

@verybigelephants
Copy link

verybigelephants commented Dec 13, 2022

I am trying to make the malware finder (having go and libyara installed), but i am getting this error

:~/php-malware-finder$ make
build github.com/jvoisin/php-malware-finder: cannot find module for path embed
make: *** [Makefile:21: php-malware-finder] Error 1

Could you help me finding out what could be wrong?

@jvoisin
Copy link
Owner

jvoisin commented Dec 13, 2022

What are your libyara and go versions?

@verybigelephants
Copy link
Author

go is go1.11.6 linux/amd64
and libyara is 3.9.0

@Zeuh
Copy link

Zeuh commented Jan 4, 2023

same on Ubuntu 20.04 LTS amd64
go1.13.8
libyara 3.9.0

@mdeous
Copy link
Collaborator

mdeous commented Jan 4, 2023

As specified in the readme, the project requires libyara >= 4.2 to compile. I'll try to publish a pre-compiled release in the next few days, in the meantime for distros that don't have the right libyara version in their repos I'd suggest using the docker image.

@Zeuh
Copy link

Zeuh commented Jan 4, 2023

Is there a way to statically compile it ?

@mdeous
Copy link
Collaborator

mdeous commented Jan 5, 2023

Actually not in our case, my bad. The only solution would either be to manually install a more recent version of YARA, or to use the Docker image.

@mdeous
Copy link
Collaborator

mdeous commented Jan 5, 2023

Closing this as it's related to a wrong dependency version.

@mdeous mdeous closed this as completed Jan 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants