[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDFJava #XBV-923348]: Installing NetCDF Plugin For GeoServer - NetCDF-4 C Library is not present
- Subject: [netCDFJava #XBV-923348]: Installing NetCDF Plugin For GeoServer - NetCDF-4 C Library is not present
- Date: Mon, 26 Oct 2015 15:42:52 -0600
Hi Brian,
I suspect that this is a version issue: NetCDF-Java requires NetCDF-C v4.3.1+
in order to write NetCDF-4 files. Can you confirm that you're using a
recent-enough version?
Failing that, it would be helpful to turn JNA debugging on so that we can get
some feedback about why the lib couldn't be loaded. Try running NetCDF-Java
with "-Djna.debug_load=true". Hopefully that will reveal which lib JNA is
attempting to load: the one in /usr/local/lib or the one in /usr/lib.
Also, FYI, the preferred way to load NetCDF-C on Linux is to use the
LD_LIBRARY_PATH environment variable [1]. However, that's not likely to matter
in this instance because you installed in the standard linux location
(/usr/local/lib), which JNA checks as a last resort.
Cheers,
Christian
[1]
http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/reference/netcdf4Clibrary.html#loading_preferred_linux
Ticket Details
===================
Ticket ID: XBV-923348
Department: Support netCDF Java
Priority: Normal
Status: Closed