Skip to content

maximum file size exceeded on a library #222

@nagisa

Description

@nagisa

Describe the bug

Running patchelf --set-rpath on a certain nvidia binary library will make patchelf output maximum file size exceeded.

Steps To Reproduce

patchelf --set-rpath '$ORIGIN' libcudnn_etc.so.8.0.0
maximum file size exceeded

The attached library has been xz-compressed, and its filename changed to fit github's filename requirements.
libcudnn_etc.so.8.0.0.gz

Decompress with

mv libcudnn_etc.so.8.0.0.gz libcudnn_etc.so.8.0.0.xz
xz -d libcudnn_etc.so.8.0.0.xz

Expected behavior

I expected patchelf to just work.

patchelf --version output

patchelf 0.9 and patchelf 0.10 (both as packaged in NixOS)

Additional context

The library is aarch64 one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions