[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #BLF-447342]: NetCDF



With out knowing the platform, the only suggestion I have
is to add "-fPIC" to the CFLAGS environment variable
and then try to rebuild.

> i'm trying to install netcdf4.6.1 and my problem is when i try to "make 
> check" i get this error:
> 
> 
> /usr/bin/ld: /usr/local/lib/libhdf5_hl.a(H5DS.o): relocation R_X86_64_32 
> against `.rodata.str1.1' can not be used when making a shared object; 
> recompile with -fPIC
> /usr/local/lib/libhdf5_hl.a: error adding symbols: Bad value
> collect2: error: ld returned 1 exit status
> Makefile:537: recipe for target 'libnetcdf.la' failed
> make[1]: *** [libnetcdf.la] Error 1
> make[1]: Leaving directory '/home/mmkamou/Downloads/netcdf-c-4.6.1/liblib'
> Makefile:672: recipe for target 'check-recursive' failed
> make: *** [check-recursive] Error 1
> 
> 
> [cid:address@hidden
> Kamara Mouhamadou Moustapha
> Chief of Mean Scale Meteorology Service
> PB: 29993 Dakar-yoff
> work: +221 338656057
> mobile: +221 776846018
> website: www.anacim.sn
> 
> 

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: BLF-447342
Department: Support netCDF
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.



NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.