From ec6932e24d045a3e28e6b2e62e64cb6020e893fd Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Tue, 23 Jul 2024 16:01:30 -0400 Subject: [PATCH] rpath --- ubuntu-22.04-risc/Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ubuntu-22.04-risc/Dockerfile b/ubuntu-22.04-risc/Dockerfile index 56d830e..5913263 100644 --- a/ubuntu-22.04-risc/Dockerfile +++ b/ubuntu-22.04-risc/Dockerfile @@ -43,16 +43,13 @@ RUN curl https://pyenv.run | bash ARG PYTHON_CONFIGURE_OPTS="--enable-shared" -ARG LDFLAGS="-L/opt/sqlite3/lib -lsqlite3" +ARG LDFLAGS="-Wl,-rpath,/opt/sqlite3/lib -L/opt/sqlite3/lib -lsqlite3" ARG CPPFLAGS="-I/opt/sqlite3/include" RUN pyenv install 3.8 RUN pyenv install 3.9 RUN pyenv install 3.10 -# needed only for the 3.11+ builds -ENV LD_LIBRARY_PATH="/opt/sqlite3/lib" - RUN pyenv install 3.11 RUN pyenv install 3.12