gdal setup with netCDF

edfialk wef1 at CEC.WUSTL.EDU
Wed Jan 10 10:52:53 PST 2007


Hi! I'm trying to get GDAL configured for netCDF output (i.e. convert x file
to netCDF).

So, I install netcdf-3.6.1 (configure, make, make install).
I configure GDAL --with-netcdf=/usr/local/src/netcdf-3.6.1

...
  NETCDF support:            yes
...

then i run make for GDAL, and I get:
...
/usr/bin/ld: /usr/local/src/netcdf-3.6.1/lib/libnetcdf.a(attr.o): relocation
R_X86_64_32S against `a local symbol' can not be used when making a shared
object; recompile with -fPIC
/usr/local/src/netcdf-3.6.1/lib/libnetcdf.a: could not read symbols: Bad
value
collect2: ld returned 1 exit status
make[1]: *** [libgdal.la] Error 1
make[1]: Leaving directory `/usr/local/src/gdal-1.3.2'
make: *** [check-lib] Error 2


Bad value? I got the latest netCDF from
http://www.unidata.ucar.edu/software/netcdf/...
Anyone have any ideas?

Thanks in advance!
-Ed
-- 
View this message in context: http://www.nabble.com/gdal-setup-with-netCDF-tf2954438.html#a8263860
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list