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

[netCDF #GMK-976713]: netcdf-4.1.3: configure libsz issue



> Howdy,
> 
> I've been trying to compile netcdf-4.1.3 on OS X (10.6.7, Intel 32-bit).  The 
> "configure" step failed due to an inability to locate the szip library.  The 
> library was in /usr/local as it was supposed to be, and "nm" confirmed that 
> the missing symbol (SZ_Compress) was actually present.  After banging my head 
> on this for a while, I noticed that in config.log, the compile line actually 
> didn't specify "-lsz":
> 
> configure:27152: gcc -o conftest -I/usr/local/include -I/sw/include 
> -I/usr/local/include -I/sw/include -L/usr/local/lib -L/sw/lib conftest.c 
> -lhdf5_hl -lhdf5 -lm -lz -lcurl  >&5
> Undefined symbols:
> "_SZ_Compress", referenced from:
> _main in ccg1pmxN.o
> 
> I added "-lsz" to my LDFLAGS, and configure completed.
> 
> Best Regards,
> 
> Andy
> 
> 
> --
> Andy Jacobson
> address@hidden
> 
> NOAA Earth System Research Lab
> Global Monitoring Division
> 325 Broadway
> Boulder, Colorado 80305
> 
> 303/578-2237
> 
> 
> 
> 
> 

Thanks, this has been fixed in the snapshot release, and the fix will be in the 
next netCDF release.

Ed

Ticket Details
===================
Ticket ID: GMK-976713
Department: Support netCDF
Priority: Critical
Status: Closed