Skip to content

Commit bce5f7a

Browse files
committed
Provide complete path to dynamic library loading
1 parent 2895d37 commit bce5f7a

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/engines/ruby/2.1/Dockerfile.musl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ cd /usr/src/openssl
8888
make -j "$(nproc)"
8989
make install
9090

91-
echo "/usr/local/ssl/lib" >> /etc/ld-musl-$(uname -m).path
91+
echo "/lib:/usr/local/lib:/usr/lib:/usr/local/ssl/lib" > /etc/ld-musl-$(uname -m).path
9292

9393
# point OpenSSL to the system CA certificates so SSL verification works
9494
rm -rf /usr/local/ssl/certs

src/engines/ruby/2.2/Dockerfile.musl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ cd /usr/src/openssl
8888
make -j "$(nproc)"
8989
make install
9090

91-
echo "/usr/local/ssl/lib" >> /etc/ld-musl-$(uname -m).path
91+
echo "/lib:/usr/local/lib:/usr/lib:/usr/local/ssl/lib" > /etc/ld-musl-$(uname -m).path
9292

9393
# point OpenSSL to the system CA certificates so SSL verification works
9494
rm -rf /usr/local/ssl/certs

src/engines/ruby/2.3/Dockerfile.musl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ cd /usr/src/openssl
8888
make -j "$(nproc)"
8989
make install
9090

91-
echo "/usr/local/ssl/lib" >> /etc/ld-musl-$(uname -m).path
91+
echo "/lib:/usr/local/lib:/usr/lib:/usr/local/ssl/lib" > /etc/ld-musl-$(uname -m).path
9292

9393
# point OpenSSL to the system CA certificates so SSL verification works
9494
rm -rf /usr/local/ssl/certs

src/engines/ruby/2.4/Dockerfile.musl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ cd /usr/src/openssl
8888
make -j "$(nproc)"
8989
make install
9090

91-
echo "/usr/local/ssl/lib" >> /etc/ld-musl-$(uname -m).path
91+
echo "/lib:/usr/local/lib:/usr/lib:/usr/local/ssl/lib" > /etc/ld-musl-$(uname -m).path
9292

9393
# point OpenSSL to the system CA certificates so SSL verification works
9494
rm -rf /usr/local/ssl/certs

src/engines/ruby/2.5/Dockerfile.musl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ cd /usr/src/openssl
8888
make -j "$(nproc)"
8989
make install
9090

91-
echo "/usr/local/ssl/lib" >> /etc/ld-musl-$(uname -m).path
91+
echo "/lib:/usr/local/lib:/usr/lib:/usr/local/ssl/lib" > /etc/ld-musl-$(uname -m).path
9292

9393
# point OpenSSL to the system CA certificates so SSL verification works
9494
rm -rf /usr/local/ssl/certs

src/engines/ruby/2.6/Dockerfile.musl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ cd /usr/src/openssl
8888
make -j "$(nproc)"
8989
make install
9090

91-
echo "/usr/local/ssl/lib" >> /etc/ld-musl-$(uname -m).path
91+
echo "/lib:/usr/local/lib:/usr/lib:/usr/local/ssl/lib" > /etc/ld-musl-$(uname -m).path
9292

9393
# point OpenSSL to the system CA certificates so SSL verification works
9494
rm -rf /usr/local/ssl/certs

src/engines/ruby/2.7/Dockerfile.musl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ cd /usr/src/openssl
8888
make -j "$(nproc)"
8989
make install
9090

91-
echo "/usr/local/ssl/lib" >> /etc/ld-musl-$(uname -m).path
91+
echo "/lib:/usr/local/lib:/usr/lib:/usr/local/ssl/lib" > /etc/ld-musl-$(uname -m).path
9292

9393
# point OpenSSL to the system CA certificates so SSL verification works
9494
rm -rf /usr/local/ssl/certs

src/engines/ruby/3.0/Dockerfile.musl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ cd /usr/src/openssl
8888
make -j "$(nproc)"
8989
make install
9090

91-
echo "/usr/local/ssl/lib" >> /etc/ld-musl-$(uname -m).path
91+
echo "/lib:/usr/local/lib:/usr/lib:/usr/local/ssl/lib" > /etc/ld-musl-$(uname -m).path
9292

9393
# point OpenSSL to the system CA certificates so SSL verification works
9494
rm -rf /usr/local/ssl/certs

0 commit comments

Comments
 (0)