<div dir="ltr">Dear all,<div>I am trying to compile grass-7.8.5 on a managed HPC with centos7 and rather old libraries for proj. The most recent is 5.0.1. Unfortunately it seems not possible to unload completely the oldest (4.8.0) version</div><div>I compile proj 7.2.1 from source and it works.</div><div>This is the compile instructions that I use (it works on containers and clean install without this old version of proj loaded).</div><div><br></div><div>```</div><div>./configure \<br>-prefix=/home/user/$grassdir/ \<br>--enable-64bit --with-fftw-includes=/cm/shared/apps/fftw/openmpi/gcc/64/3.3.7/include/ \<br>--with-fftw-libs=/cm/shared/apps/fftw/openmpi/gcc/64/3.3.7/lib/ \<br>--with-freetype-includes=/home/user/$grassdir/freetypes/freetype-$freetypeVers/include/ \<br>--with-netcdf --with-geos --with-blas --with-lapack --with-postgres \<br>--with-zstd-includes=/home/user/$grassdir/zstd/zstd-$zstdVers/lib/ \<br>--with-zstd-libs=/home/user/$grassdir/zstd/zstd-$zstdVers/lib/ \<br>--with-gdal=/home/user/gdal/bin312/bin/gdal-config \<br>--with-geos=/home/user/geo/bin/bin/geos-config \<br>--with-proj-include=/home/user/geo/bin/include/ \<br>--with-proj-libs=/home/user/geo/bin/lib/ \<br>--with-proj-api=yes --with-proj-share=/home/user/geo/bin/share/proj/<br></div><div>```</div><div><br></div><div>I tried also with --with-proj-api=no and without the --with-proj-share option.</div><div><br></div><div><br></div><div>Then I get these problems:</div><div>[...]</div><div>checking for location of External PROJ includes... <br>checking for proj.h... no   <span style="font-family:monospace"><br></span>checking External PROJ.4 version... 480<br>found PROJ version 480<br>using old PROJ version 4 API<br>checking for proj_api.h... yes<br>checking External PROJ.4 version... 480<br>checking for location of External PROJ.4 library... /home/user/geo/bin/lib/<br>checking for pj_get_def in -lproj... yes<br>checking for location of External PROJ data files... /home/user/geo/bin/share/proj/<br>checking for /home/user/geo/bin/share/proj//epsg... no<br>configure: warning: *** Unable to locate PROJ data files.<br></div><div>[...]</div><div>using old PROJ 4 API<br></div><div><br></div><div>It compiles but then it gives errors for different modules </div><div>I think the "problem" is that it can not locate proj.h (it exists in /home/user/geo/bin/include/proj.h). I tried to add the path to the $PATH variable but it does not really improve. </div><div>Any additional/different options that I can try?</div><div><br></div><div>Thanks in advance</div><div>Laura</div><div><br></div></div>