<div dir="ltr">Dear devs,<br><br>I have an issue when<i> I</i> try to configure ad compile grass.<br>At the moment I'm on Fedora 31. So I installed the default gdal (2.3.2) with:<br><br><span style="font-family:monospace">`sudo dnf install gdal gdal-devel gdal-libs`</span><br><br>I executed locally gdalinfo on a tif and it provide the information of the raster and then I checked the installation paths with:<br><div><br></div><div><span style="font-family:monospace">```<br></span></div><span style="font-family:monospace">$ /usr/bin/gdal-config --version<br>2.3.2<br>$ /usr/bin/gdal-config --libs<br>-L/usr/lib64 -lgdal<br>$ /usr/bin/gdal-config --cflags<br>-I/usr/include/gdal<br>$ /usr/bin/gdal-config --datadir<br></span><div><span style="font-family:monospace">/usr/share/gdal</span></div><div><span style="font-family:monospace">```</span><br></div><br><div>So it seems to work, then my configure command is:</div><div><br></div><div><span style="font-family:monospace">```<br></span></div><div><span style="font-family:monospace">$ CFLAGS="-g -O1 -Wall -Wextra -Wundef -Wfloat-equal -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wstrict-overflow=5 -Wwrite-strings  -Wshadow -Werror-implicit-function-declaration -Waggregate-return -Wcast-qual -Wswitch-default -Wswitch-enum -Wconversion -Wunreachable-code -Winit-self -Wuninitialized -fno-common -fexceptions -fstack-protector -fmudflap -m64 -mtune=native" \<br>CXXFLAGS="-g -O1 -Wall" \<br>./configure \<br>    --prefix=$HOME/.local \<br>    --with-zstd \<br>    --with-blas --with-blas-includes=/usr/include/atlas-x86_64-base/ \<br>    --with-lapack --with-lapack-includes=/usr/include/atlas-x86_64-base/ \<br>    --with-cxx \<br>    --with-cairo \<br>    --with-freetype \<br>    --with-freetype-includes=/usr/include/freetype2 \<br>    --with-geos \<br>    --with-gdal=/usr/bin/gdal-config \<br>    --with-gdal-includes=/usr/include/gdal \<br>    --with-gdal-libs=/usr/lib64 \<br>    --with-gdal-share=/usr/share/gdal \<br>    --with-nls \<br>    --with-netcdf \<br>    --with-odbc \<br>    --with-openmp \<br>    --with-postgres \<br>    --with-python=/usr/bin/python3-config \<br>    --with-readline \<br>    --with-proj \<br>    --with-pthread \<br>    --with-sqlite \<br>    --with-wxwidgets=/usr/bin/wx-config</span></div><div><span style="font-family:monospace">```</span></div><div><br></div><div>But I get the following error:</div><div><span style="font-family:monospace">```</span></div><div><span style="font-family:monospace">checking host system type... x86_64-pc-linux-gnu<br>checking for gcc... gcc</span></div><div><span style="font-family:monospace">[...]</span></div><div><span style="font-family:monospace">checking whether to use GDAL... yes<br>checking for gdal-config... /usr/bin/gdal-config<br>configure: error: *** Unable to locate GDAL library.</span></div><div><span style="font-family:monospace">```</span><br></div><div><br></div><div>Do you understand why I still receive this error even if I specify all the paths of the gdal iclude/libs/share directories?</div><div>Any ideas on how to solve/fix this issue?</div><div><br></div><div>Thank you for your support.</div><div><br></div><div>Pietro<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>