Closed nyx0 closed 3 months ago
Did you install the libjansson-dev
package?
Yes, the compilation works for linux (I'm building for linux and windows on the same machine)
mingw seems to offer a package for libjansson: https://packages.msys2.org/package/mingw-w64-x86_64-jansson
I've never tried to build yara with libjansson in mingw, so I won't be able to help with this. It looks like a setup issue, where the right package wasn't installed for the mingw environment.
Indeed i saw this package but i wasn't sure if i should use it since it was not in YARA github action. I will try that then thanks!
Hello, I'm sorry to open an issue for that but after spending some time trying to figure out what I'm doing wrong I wanted to see if I'm missing something. I'm trying to compile YARA via mingw (64bits) with Jansson lib, unfortunately this case is not covered in the GitHub Action https://github.com/VirusTotal/yara/blob/4fc1ff822c11988ef616882a1a32e787359fdef4/.github/workflows/build.yml#L48
Tried on Ubuntu 24.04 and Debian 12 The error:
It looks like png-config doesn't find jansson lib. Any idea what could be done here? thanks.