gdal setup with netCDF

Gregor Mosheh gregor at HOSTGIS.COM
Wed Jan 10 14:16:22 EST 2007


>> /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

Yep. On x86_64 platform, -fPIC is required for virtually every library I
compile. It's a wonder that producing PIC isn't a default in the compiler
in this modern age; but that's a discussion for another forum.



More information about the mapserver-users mailing list