Skip to content

Cannot run the binary in alpine linux #66

@beeyev

Description

@beeyev
  • Yet Another Cron version: 0.16.0
  • Operating System: Linux 8b410fb6a95c 5.10.16.3 # 1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 Linux

Hello, forts of all, thanks for a great tool, it is one of the best tools I have ever used!

I am trying to use yacron in alpine Linux inside docker container.
To keep the container as small as possible, I am using the compiled binary, but unfortunately it does not work in alpine.
Is there any possible way how to make it work without installing Python to the system?

ldd utility shows this

 ldd yacron
        /lib64/ld-linux-x86-64.so.2 (0x7ffa9788d000)
        libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7ffa9788d000)
        libz.so.1 => /lib/libz.so.1 (0x7ffa97873000)
        libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7ffa9788d000)
        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7ffa9788d000)
Error relocating yacron: __strcat_chk: symbol not found
Error relocating yacron: __snprintf_chk: symbol not found
Error relocating yacron: __vfprintf_chk: symbol not found
Error relocating yacron: __realpath_chk: symbol not found
Error relocating yacron: __strdup: symbol not found
Error relocating yacron: __memcpy_chk: symbol not found
Error relocating yacron: __vsnprintf_chk: symbol not found
Error relocating yacron: __strcpy_chk: symbol not found
Error relocating yacron: __fread_chk: symbol not found
Error relocating yacron: __fprintf_chk: symbol not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions