[gdal-dev] Including curl in the context of an Android build?
Even Rouault
even.rouault at mines-paris.org
Wed Aug 3 15:52:04 EDT 2011
Le mercredi 03 août 2011 21:45:47, Jim Pendleton a écrit :
> I don't fully understand the checking that's being performed in the
> configure utility of GDAL for the -with-curl switch. This apperas to be
> responsible for overriding the curl_global_init function in a header
> file and including libcurl.so in the LIBS list. I'm afraid I'm not a
> makefile guru so I'm probably missing something obvious.
>
>
>
> Regardless of how I set this, the build process for GDAL wants to parse
> files *installed* on the build platform, in this case
> /usr/bin/curl-config under RedHat 5. The result is that "checking for
> curl_global_init in -lcurl" always returns "no". It also appears to
> want to reference a dynamic libcurl.so (LIBS="-lcurl $LIBS"), rather
> than allowing a static library as a part of the build.
>
You might be interested by this fix : http://trac.osgeo.org/gdal/ticket/4110
>
> Does GDAL's architecture require a separate libcurl.so to be loaded at
> runtime?
No, a static build should work fine but might require some configure tweaking.
> And if so, has anyone had any experience with this in the
> Android environment?
>
>
>
> If anyone could help me out with this, I would very much appreciate it.
>
>
>
> Thanks,
>
> Jim P.
More information about the gdal-dev
mailing list