Skip to content

Commit

Permalink
Downgrade to patchelf 0.17.2
Browse files Browse the repository at this point in the history
Workaround for:
"error while loading library 'pyprt/lib/libcom.esri.prt.codecs.so': liblzma-51a76f52.so.5.2.4: ELF load command address/offset not properly aligned"

Also see NixOS/patchelf#492
  • Loading branch information
mistafunk committed Jul 18, 2024
1 parent de1bb3a commit cdfb58f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions envs/linux/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ ADD https://cmake.org/files/v3.27/cmake-3.27.7-linux-x86_64.tar.gz /tmp/cmake.ta
RUN tar -xzf /tmp/cmake.tar.gz -C /opt && rm /tmp/cmake.tar.gz
ENV PATH="/opt/cmake-3.27.7-linux-x86_64/bin:$PATH"

ADD https://github.com/NixOS/patchelf/releases/download/0.18.0/patchelf-0.18.0-x86_64.tar.gz /tmp/patchelf.tar.gz
RUN mkdir -p /opt/patchelf-0.18.0-x86_64 && tar -xzf /tmp/patchelf.tar.gz -C /opt/patchelf-0.18.0-x86_64 && rm /tmp/patchelf.tar.gz
ENV PATH="/opt/patchelf-0.18.0-x86_64/bin:$PATH"
ADD https://github.com/NixOS/patchelf/releases/download/0.17.2/patchelf-0.17.2-x86_64.tar.gz /tmp/patchelf.tar.gz
RUN mkdir -p /opt/patchelf-0.17.2-x86_64 && tar -xzf /tmp/patchelf.tar.gz -C /opt/patchelf-0.17.2-x86_64 && rm /tmp/patchelf.tar.gz
ENV PATH="/opt/patchelf-0.17.2-x86_64/bin:$PATH"

# setup container initialization and user

Expand Down

0 comments on commit cdfb58f

Please sign in to comment.