Skip to content

Building on RHEL 9.7 #15

@tdiprima

Description

@tdiprima

atch does not work on RHEL 9.7

Environment: RHEL 9.7, x86_64

Steps to reproduce:

git clone https://github.com/mobydeck/atch
cd atch
dnf install glibc-static  # required to build
make
./atch --help

Expected behavior: Help text is displayed.

Actual behavior: The process is immediately killed:

[1]  Killed  ./atch --help

Running under strace shows:

execve("./atch", ["./atch", "--help"], ...) = -1 EACCES (Permission denied)

SELinux is disabled on this system, so that is not the cause. No stale atch processes were running. The binary appears to compile successfully (with the expected getpwuid static linking warning), but cannot be executed.

Note: building also requires glibc-static, which is not mentioned in the README and needs the CodeReady Linux Builder repo enabled on RHEL 9.

Additional notes: The README mentions Alpine-based Docker builds — it may be that static builds against glibc are not well supported on RHEL/rpm-based distros. A note in the README about supported build platforms might be helpful.

Thank you.

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