Skip to content

RPATH modification rationale? #67

Closed

Description

@moradology

The work in this repo is really solid and I'm fairly certain it will serve as a useful reference for the geospatial community. With that said, I'm curious about the rpath modifications done in the main dockerfile here:
https://github.com/lambgeo/docker-lambda/blob/master/dockerfiles/Dockerfile#L386-L401

What's this part doing? GDAL seems to function nicely without it, but perhaps I'm not fully exercising relevant functions that will be upset when they can't find headers at runtime.

For context, it appears as though at least some of the custom EMR images I'm aiming to build gdal against have completely broken perl installations which cause patchelf builds to fall over. Like: necessary pragma files (e.g. strict.pm) just aren't there.

Activity

  1. changed the title [-]RPath modification[/-] [+]RPATH modification rationale?[/+] on Dec 6, 2023
  2. vincentsarago commented on Dec 6, 2023

    @vincentsarago
    Contributor

    What's this part doing? GDAL seems to function nicely without it, but perhaps I'm not fully exercising relevant functions that will be upset when they can't find headers at runtime.

    the rpath modification is done to make sure we keep a relative reference for the libs when we package lambda layer or package

    If the goal is to build a pure docker image the rpath usage can be removed

  3. locked and limited conversation to collaborators on Dec 6, 2023
  4. converted this issue into a discussion #68 on Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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