[GRASS-dev] [GRASS GIS] #2335: Unable to locate GDAL library (installed on the system)

#2335: Unable to locate GDAL library (installed on the system)
-------------------------+--------------------------------------------------
Reporter: strk | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: Compiling | Version: 6.4.3
Keywords: | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
{{{
checking for gdal-config... /usr/local/bin/gdal-config
configure: error: *** Unable to locate GDAL library.
[strk@cdb:/usr/src/grass/grass-6.4.3] gdal-config
Usage: gdal-config [OPTIONS]
Options:
         [--prefix[=DIR]]
         [--libs]
         [--dep-libs]
         [--cflags]
         [--datadir]
         [--version]
         [--ogr-enabled]
         [--formats]
}}}

Why "Unable to locate GDAL library" ?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2335&gt;
GRASS GIS <http://grass.osgeo.org>

#2335: Unable to locate GDAL library (installed on the system)
-------------------------+--------------------------------------------------
Reporter: strk | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: Compiling | Version: 6.4.3
Keywords: configure | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by neteler):

  * keywords: => configure

Comment:

Replying to [ticket:2335 strk]:
> Why "Unable to locate GDAL library" ?

It does not find it in the indicated directory "/usr/local/bin/".
Try

{{{
which gdal-config
}}}

to see where that script is really stored. How did you run GRASS'
"configure"?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2335#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2335: Unable to locate GDAL library (installed on the system)
--------------------------+-------------------------------------------------
  Reporter: strk | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.4
Component: Compiling | Version: 6.4.3
Resolution: invalid | Keywords: configure
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by strk):

  * status: new => closed
  * resolution: => invalid

Comment:

I had a broken GDAL install. Build succeeds after fixing that one, thanks!

DETAIL: some libraries required by gdal were removed

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2335#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>