Skip to content

ELF reference and rpath #8

Description

@haampie

In the comments of the include files of this lib:

it appears that according to the ELF standard, the rpath is ignored in libraries, therefore if the path points to an executable, an empty string is returned

I believe ldd does not agree with this (running on ubuntu 16), as it also respects rpath of shared libraries.

Did you use http://www.sco.com/developers/gabi/2003-12-17/ch5.dynamic.html#tag_encodings as a reference?

It seems Solaris has its own specs (https://docs.oracle.com/cd/E23824_01/html/819-0690/chapter6-42444.html#chapter6-tbl-52) that do not ignore rpath in shared libs.

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