[gdal-dev] error building gdal docker image for v2.4.4
Henry Rodman
henry at silviaterra.com
Wed Jan 6 06:48:47 PST 2021
Hello, I am trying to set up a development environment with version 2.4.4
of gdal installed. I found the documentation for the gdal docker image and
successfully built the image with --gdal master and --proj master flags
set.
However, when I try to build the docker image with version 2.4.4 of gdal
(and version 4.8.0 of proj) the ./configure call for building gdal hits an
error related to proj availability.
Here is the command that I run (from gdal/gdal/docker directory):
ubuntu-small/build.sh --release --gdal v2.4.4 --proj 4.8.0
Here is the tail of the logging messages from the docker build:
checking how to link PROJ library... link statically.
checking for proj_create in -lproj... no
checking for pj_init in -lproj... no
checking for pj_init in -lproj... no
checking for pj_init in -lproj... no
checking for pj_init in -lproj... no
checking for pj_init in -lproj... no
configure: error: cannot find proj
Is this expected behavior? Perhaps the Dockerfile in the gdal repository is
not backwards compatible as far back as version 2.4.4 of gdal and version
4.8.0 of proj?
In the proj configuration logs I noticed a few messages that might provide
a clue:
libtool: install: /usr/bin/install -c .libs/libproj.lai
/build/usr/local/lib/libproj.la
libtool: warning: remember to run 'libtool --finish /usr/local/lib'
/usr/bin/mkdir -p '/build/usr/local/bin'
/bin/bash ../libtool --mode=install /usr/bin/install -c proj nad2bin
geod cs2cs '/build/usr/local/bin'
libtool: warning: 'libproj.la' has not been installed in '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/proj /build/usr/local/bin/proj
libtool: warning: 'libproj.la' has not been installed in '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/nad2bin
/build/usr/local/bin/nad2bin
libtool: warning: 'libproj.la' has not been installed in '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/geod /build/usr/local/bin/geod
libtool: warning: 'libproj.la' has not been installed in '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/cs2cs /build/usr/local/bin/cs2c
If the docker build process won't work for my application I will move on
but I thought I would check to see if there may be a simple solution.
Thank you in advance for any suggestions!
--
*Henry Rodman*
Forest Biometrician
SilviaTerra | www.silviaterra.com
612-845-7637
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210106/d5b24fc1/attachment.html>
More information about the gdal-dev
mailing list