mandiant / capa

The FLARE team's open-source tool to identify capabilities in executable files.
https://mandiant.github.io/capa/
Apache License 2.0
4.14k stars 522 forks source link

Binary Ninja install fails: OSError: /lib/x86_64-linux-gnu/libstdc++.so.6... #2098

Closed mr-tz closed 4 months ago

mr-tz commented 4 months ago

OSError: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/runner/work/capa/capa/.github/binja/binaryninja/python/binaryninja/../../libbinaryninjacore.so.1)

https://github.com/mandiant/capa/actions/runs/9282684784/job/25542369887#step:6:3531

@xusheng6, do you have a fix here?

xusheng6 commented 4 months ago

Is this a new one or it has been a while? The thing that is relevant is we have dropped the support for Ubuntu 20.04 in March. So far this only affects dev builds because our last stable build is published earlier than that. Also I believe capa tests are run against the stable build, so it should not be affected. Need to look at it further to figure out

mr-tz commented 4 months ago

I think it started recently (this week?).

xusheng6 commented 4 months ago

Oh wait -- we have recently (a few days ago) published a bug fix for 4.0 and it is also considered a stable release. This build is used by capa test and it no longer supports Ubuntu 20.04. Would it be possible to run capa tests on Ubuntu 22.04?

xusheng6 commented 4 months ago

The update to Ubuntu 22.04 is somehow inevitable -- we will be releasing stable 4.1 soon and it will also no longer support Ubuntu 20.04

mr-tz commented 4 months ago

yeah, we can upgrade the test, thanks for the context!