Skip to content

Commit 9a42ded

Browse files
authored
fix LD_LIBRARY_PATH (#9017)
1 parent db3cdc0 commit 9a42ded

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

images/opentelemetry/rootfs/init_module.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ set -o nounset
1919
set -o pipefail
2020

2121
mkdir -p /modules_mount/etc/nginx/modules
22-
cp -R /etc/nginx/modules /modules_mount/etc/nginx/modules
22+
cp -R /etc/nginx/modules/* /modules_mount/etc/nginx/modules/otel

rootfs/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ RUN bash -xeu -c ' \
6363
# LD_LIBRARY_PATH does not work so below is needed for opentelemetry/other modules
6464
# Put libs of newer modules under `/modules_mount/<other>/lib` and add that path below
6565
# Could get complicated arch specific paths become a need
66-
&& echo "/lib:/usr/lib:/usr/local/lib:/modules_mount/otel/lib" > /etc/ld-musl-x86_64.path
66+
&& echo "/lib:/usr/lib:/usr/local/lib:/modules_mount/etc/nginx/modules/otel" > /etc/ld-musl-x86_64.path
6767

6868

6969
RUN apk add --no-cache libcap \

0 commit comments

Comments
 (0)