Skip to content

Find out glibc version a binary needs #6

@probonopd

Description

@probonopd

It would be cool if we could have a function to find out what glibc version is needed to run the contents of a particular AppDir.

Something along the lines of

https://github.com/AppImage/AppImages/blob/f92f77b928239528a9cc4ddad651635b4f616ce9/functions.sh#L137

find . -name *.so -or -name *.so.* -or -type f -executable  -exec strings {} \; | grep ^GLIBC_2 | sed s/GLIBC_//g | sort --version-sort | uniq | tail -n 1

but in libelfutil.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions