Skip to content

Commit 3a8679f

Browse files
committed
Fix LD_LIBRARY_PATH on manylinux
1 parent a02d60e commit 3a8679f

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

buildconfig/manylinux-build/docker_base/Dockerfile-aarch64

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ ENV PG_BASE_MESON_FLAGS="--prefix=$PG_DEP_PREFIX \
4040
# remember to keep this updated when we drop 3.11 support
4141
ENV PATH="/opt/python/cp311-cp311/bin:$PATH"
4242

43+
# libraries installed in dep prefix must be usable everywhere
44+
ENV LD_LIBRARY_PATH="$PG_DEP_PREFIX/lib:$LD_LIBRARY_PATH"
45+
4346
ADD pkg-config /pkg-config_build/
4447
RUN ["bash", "/pkg-config_build/build-pkg-config.sh"]
4548

buildconfig/manylinux-build/docker_base/Dockerfile-i686

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ ENV PG_BASE_MESON_FLAGS="--prefix=$PG_DEP_PREFIX \
4040
# remember to keep this updated when we drop 3.11 support
4141
ENV PATH="/opt/python/cp311-cp311/bin:$PATH"
4242

43+
# libraries installed in dep prefix must be usable everywhere
44+
ENV LD_LIBRARY_PATH="$PG_DEP_PREFIX/lib:$LD_LIBRARY_PATH"
45+
4346
ADD pkg-config /pkg-config_build/
4447
RUN ["linux32", "bash", "/pkg-config_build/build-pkg-config.sh"]
4548

buildconfig/manylinux-build/docker_base/Dockerfile-x86_64

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ ENV PG_BASE_MESON_FLAGS="--prefix=$PG_DEP_PREFIX \
4040
# remember to keep this updated when we drop 3.11 support
4141
ENV PATH="/opt/python/cp311-cp311/bin:$PATH"
4242

43+
# libraries installed in dep prefix must be usable everywhere
44+
ENV LD_LIBRARY_PATH="$PG_DEP_PREFIX/lib:$LD_LIBRARY_PATH"
45+
4346
ADD pkg-config /pkg-config_build/
4447
RUN ["bash", "/pkg-config_build/build-pkg-config.sh"]
4548

0 commit comments

Comments
 (0)