Opened 5 years ago

Closed 5 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)

comment:1 in reply to:  description Changed 5 years ago by neteler

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 Changed 5 years ago by strk

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.