Opened 11 years ago

Closed 11 years ago

#2335 closed defect (invalid)

Unable to locate GDAL library (installed on the system)

Reported by: strk Owned by: grass-dev@…
Priority: normal Milestone: 6.4.4
Component: Compiling Version: 6.4.3
Keywords: configure Cc:
CPU: Unspecified Platform: Unspecified

Description

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" ?

Change History (2)

in reply to:  description comment:1 by neteler, 11 years ago

Keywords: configure added

Replying to 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"?

comment:2 by strk, 11 years ago

Resolution: invalid
Status: newclosed

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

DETAIL: some libraries required by gdal were removed

Note: See TracTickets for help on using tickets.