[gdal-dev] wms support not enabled with ceratin LDFLAGS set

Even Rouault even.rouault at mines-paris.org
Mon Jul 30 05:04:02 PDT 2012

Selon Oliver Burger <oliver.bgr at googlemail.com>:

> Hi,
> one of our users spotted a regression in gdal >= 1.9.x:
> https://bugs.mageia.org/show_bug.cgi?id=6434
> The problem seems to be with our default LDFLAGS we use on the package
> build system:
> LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1
> -Wl,--build-id -Wl,--enable-new-dtags'
> With those flags I get the following FORMATS:
> OPT_GDAL_FORMATS='grib bsb jpeg2000 netcdf hdf5 ogdi gif jpeg png
> pcraster fits '
> Without those I get
> OPT_GDAL_FORMATS='wcs wms grib bsb jpeg2000 netcdf hdf5 ogdi gif jpeg
> png pcraster fits '
> This is a regression to older gdal versions (we had 1.8.x) in Mageia 1
> where tgis problem did not occur.
> Anybody having an idea, what could be responsible for this?

The requirement for having WMS enabled is that libcurl has been properly
detected, so I'd assume that the above LDFLAGS prevents that. Looking at
configure, I see that libcurl detection is only based on curl-config presence
and the presence of curl_global_init in libcurl. So you should have a closer
look at that in config.log and ./configure output.

> Oliver
> --
> Oliver Burger aka obgr_seneca
> Mageia contributor
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

More information about the gdal-dev mailing list