google / google/gcp_scanner

standalone binary raises error when compiled on a newer version of Linux

Open
#7 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
370
Forks
114
PR merge metrics
No merged PRs in 30d

Description

```
./scanner
[9662] Error loading Python lib '/tmp/_MEI9HTRtJ/libpython3.10.so.1.0': dlopen: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/_MEI9HTRtJ/libpython3.10.so.1.0)
```
Based on [this](https://github.com/pyinstaller/pyinstaller/wiki/FAQ#gnulinux), we need to build gcp_scanner on an older system than we plan to use it on. We could also add support for [StaticX](https://github.com/JonathonReinhart/staticx/).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.