From b5910aab5cd1991701a1d8e7a913243c6061a3e5 Mon Sep 17 00:00:00 2001 From: Brian Buechler Date: Fri, 24 May 2024 10:59:43 -0600 Subject: [PATCH] Add "/usr/local/lib/" to /etc/ld.so.conf This removed the downstream requirement of updating $LD_LIBRARY_PATH. --- build/asf_mapready.Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/build/asf_mapready.Dockerfile b/build/asf_mapready.Dockerfile index 593b7aa..4b752af 100644 --- a/build/asf_mapready.Dockerfile +++ b/build/asf_mapready.Dockerfile @@ -118,6 +118,7 @@ RUN cd /tmp/build_mp && \ export CFLAGS="-I/usr/include -I/usr/local/include/CUnit/ -I/usr/local/include/CUnit/ -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1" && \ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/ && \ ./configure && make && make install && \ + echo "/usr/local/lib/" > /etc/ld.so.conf.d/mapready.conf && ldconfig && \ rm -rf /tmp/build_mp FROM scratch