magic.h: No such file or directory
envgap__WerWolv__ImHex-2244
01 / FAILURE SIGNATURE
As reported upstream
Faced the same error as https://github.com/WerWolv/ImHex/issues/48 while trying to build imhex for Kubuntu 25.04 from sources.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
03dd20c263050af20658a794b4afdbfcea2a86f7- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
WerWolv/ImHex #2244 · read the original issue
Faced the same error as https://github.com/WerWolv/ImHex/issues/48 while trying to build imhex for Kubuntu 25.04 from sources. Solved by `sudo apt install libmagic-dev` I think, there must be `find_package(magic REQUIRED)` somethere in `ImHex/lib/third_party/yara/CMakeLists.txt` to highlight this dependancy at `cmake ..` step. Otherwise I thought it was trying to reach `/usr/include/linux/magic.h` from linux-libc-dev package
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]