gdal setup with netCDF

Norman Barker nbarker at ITTVIS.COM
Wed Jan 10 14:56:32 EST 2007


Ed,

setting -fPic is non-trivial for the netcdf library as I remember it, however I do have step by step instructions for it (in the office, I am at home now) - if I forget remind me to post them to the list tomorrow.

It isn't a gdal issue, more a hack in the netcdf options file - I have it all running fine on a 64 bit server though reading netcdf through MapServer WCS and serving as geotiff.

Norman


-----Original Message-----
From: UMN MapServer Users List on behalf of Gregor Mosheh
Sent: Wed 1/10/2007 7:16 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] gdal setup with netCDF
 
>> /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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070110/a71a1a0d/attachment.html


More information about the mapserver-users mailing list