[Gdal-dev] gdal on amd64 needs -fPIC?

Alessandro Amici alexamici at fastwebnet.it
Tue Mar 30 10:27:48 EST 2004


Vincent,

> > I just tried to compile gdal on my new amd64.

luck you ;)

> More info:
> both netcdf/hdf and gdal need -fPIC. I tried compiling gdal with -fPIC
> while having hdf4 compiled without, and that didn't work out.
> Might be that gdal when compiled without hdf4 support doesn't need -fPIC,
> but as I need hdf4 support I didn't try that yet.

do you use the standard (libtool) build or the old style one 
(--without-libtool)?

in both cases it would be helpfull to have the configure command line that you 
use and a snipped of both compile and link commands.
and the actual error message, obviously ;) !

cheers,
alessandro



More information about the Gdal-dev mailing list