<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=windows-1252">
  </head>
  <body text="#000099" bgcolor="#FFFFFF">
    I am trying to compile grass 7, with configuration settings:<br>
    <br>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
    <p>
      ./configure --prefix=/usr/local/grass7 --enable-64bit
      --with-libs=/lib64 --with-sqlite --with-odbc --with-cairo
      --with-geos --with-cxx=yes --with-gdal=/usr/bin/gdal/bin/
      --with-python=yes --with-wxwidgets=/usr/bin/wx-config
      --with-readline --with-freetype
      --with-freetype-includes=/usr/include/freetype2 --enable-largefile
      --with-motif --with-motif-includes=/usr/include
      --with-proj-share=/usr/share/proj --with-pthread --with-postgres
      --with-postgres-libs=/usr/include/postgresql/libpq
      --with-postgres-includes=/usr/include/postgresql --with-lapack
      --with-blas<br>
    </p>
    <meta name="Description" content="Copy-Paste Buffer">
    <meta name="Generator" content="Zim">
    It stops halfway, with  the error message below:<br>
    <br>
    checking for gdal-config... /usr/local/gdal/bin/gdal-config<br>
    configure: error: *** Unable to locate GDAL library.<br>
    <br>
    However, the gdal-config is there (and works without problem from
    the command line), the path has been defined in the .bashrc and
    .configure files in my home directory. Also, nothing has changed
    since the last time I compiles grass (successfully), so I am at loss
    what to do next. Any ideas?<br>
    <br>
  </body>
</html>