Skip to content

nix os error: bash: /path/to/out/near-sandbox: cannot execute: required file not found #8

@dj8yfo

Description

@dj8yfo

The downloaded binary can be remedied with

# nix-repl> "${stdenv.cc.bintools.dynamicLinker}"
patchelf --set-interpreter "/nix/store/qn3ggz5sf3hkjs2c797xf7nan3amdxmp-glibc-2.38-27/lib/ld-linux-x86-64.so.2"  /path/to/out/near-sandbox
# nix-repl> "${stdenv.cc.cc.lib}"
patchelf --set-rpath /nix/store/myw67gkgayf3s2mniij7zwd79lxy8v0k-gcc-12.3.0-lib/lib /path/to/out/near-sandbox

more info on https://nixos.wiki/wiki/Packaging/Binaries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions