Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Binaries with rpath starting with $ are not stripped #323

@Nicolas-Marique

Description

@Nicolas-Marique

Hi,

We have a component that is composed of an application and a bunch of shared libraries.

The application has been designed to be relocatable and compliant with AppDir specification and thus has it's rpath starting with $ORIGIN/../lib. Some libraries it depends on are also starting with $ORIGIN.

When producing the AppImage, everything works fine except for the strip part which is left out only for binaries starting with $. It thus makes the AppImage way bigger than it should be because of leftover debug symbols.

I know I could work around the problem by first creating the AppImage, then extract it, strip everything and recreate it but it feels like something the tool should normally do in the first place.

I've seen in the code an explicit check for this here but I don't understand the rationale for it as stripping a binary and rpath seem unrelated concepts.

What did I miss ?

Is this a leftover of previous checks ? If it's intentional what's the rationale for it ?

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