Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Binaries with rpath starting with $ are not stripped #323

Copy link
Copy link

Description

@Nicolas-Marique
Issue body actions

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 ?

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.