Skip to content

Commit 63574da

Browse files
committed
add to LD_LIBRARY_PATH and compile geotiff with compiled libjpeg
1 parent 9ff2db1 commit 63574da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ENV \
3535
NPROC=4 \
3636
PREFIX=/usr/local \
3737
GDAL_CONFIG=/usr/local/bin/gdal-config \
38-
LD_LIBRARY_PATH=/usr/local/lib \
38+
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64 \
3939
GDAL_DATA=/usr/local/share/gdal
4040

4141
# switch to a build directory
@@ -169,7 +169,7 @@ RUN \
169169
wget -qO- https://download.osgeo.org/geotiff/libgeotiff/libgeotiff-$GEOTIFF_VERSION.tar.gz \
170170
| tar xvz -C geotiff --strip-components=1; cd geotiff; \
171171
./configure --prefix=${PREFIX} \
172-
--with-proj=${PREFIX} --with-jpeg=yes --with-zip=yes;\
172+
--with-proj=${PREFIX} --with-jpeg=${PREFIX} --with-zip=yes;\
173173
make -j ${NPROC} install; \
174174
cd ${BUILD}; rm -rf geotiff
175175

0 commit comments

Comments
 (0)