Skip to content

Static compile precise-engine binary #3

Description

@PureTryOut

I'm running Alpine Linux on my system which uses musl. Currently I can't use precise-engine because the executable is dynamically linked against /lib64/ld-linux-x86-64.so.2 which isn't available.

▶ file ~/.local/share/mycroft/precise/precise-engine/precise-engine  
/home/bart/.local/share/mycroft/precise/precise-engine/precise-engine: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=fdb92fd0de3892fc2176220c6694f8eee61d4fa3, stripped
▶ ls /lib/ld*
/lib/ld-musl-x86_64.so.1

To make it work on all Linux systems it would have to be statically compiled instead. This is not possible to do with glibc afaik but it is with musl.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions