logo       

[GRASSLIST:4040] Re: More OGR lib compile fun: msg#00247

gis.grass.user

Subject: [GRASSLIST:4040] Re: More OGR lib compile fun

I have no explanation how/where '-ldl' was added to GDALLIBS.
Normally, if --with-gdal is used, it contains path to GDAL lib
and GDAL lib.

Compilation of ogr driver is conditional and it was using
ifneq ($(strip $(GDALLIBS)),)
which I changed to
ifneq ($(strip $(USE_OGR)),)

OGR driver is used only for external data (v.external)

Radim


On Tuesday 27 July 2004 17:10, C.S. Cornuelle wrote:
> Radim,
>
> In grass-5.7.0/include/Make/Platform.make we have:
>
> #GDAL/OGR
> GDALLIBS = -ldl
> GDALCFLAGS =
> USE_OGR =
>
> FYI:
>
> /usr/lib> ls libdl*
> libdl.a libdl.so@
>
> However, during configure I did:
>
> CFLAGS="-g -Wall" ./configure --without-fftw --without-gdal
> --without-opengl --with-postgres-includes="/usr/local/pgsql/include"
> --with-postgres-libs="/usr/local/pgsql/lib"




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise