I just checked, and that's what we have on our live system. I think you
need to adjust the library name given in threddsConfig.xml. If the .so is
located in /usr/local/lib, this should be:
<Netcdf4Clibrary>
<libraryPath>/usr/local/lib</libraryPath>
<libraryName>netcdf</libraryName>
</Netcdf4Clibrary>
Ryan
On Mon, Mar 23, 2015 at 3:44 PM, tom cook <tmcook@xxxxxxxx> wrote:
> No dice, the only .so is libnetcdf.so.7.2.0 (which was also there when
> not using --enable-shared). Can I just make a symbolic link for
> libnetcdf4.so to libnetcdf.so.7.2.0 ?
>
> On Mon, Mar 23, 2015 at 2:37 PM, Ryan May <rmay@xxxxxxxx> wrote:
> > Tom,
> >
> > You may need to specify the --enable-shared flag when running ./configure
> > when you build netcdf-c. See:
> >
> >
> http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Running-the-configure-Script.html
> >
> > Ryan
> >
> > On Mon, Mar 23, 2015 at 3:28 PM, tom cook <tmcook@xxxxxxxx> wrote:
> >>
> >> HI,
> >> Hopefully this is an easy one.
> >> I'm running TDS 4.3.23 with NetCDF 4.3.2 and I've configured to run
> >> TDS with netcdf4 library support. I get the following error in my
> >> startup log:
> >>
> >> 2015-03-23T20:56:59.521+0000 [ 526][ ] WARN
> >> serverStartup: netcdf4 c library not present jna_path='/usr/local/lib'
> >> libname='netcdf4' Unable to load library 'netcdf4': libnetcdf4.so:
> >> cannot open shared object file: No such file or directory
> >> 2015-03-23T20:56:59.521+0000 [ 526][ ] WARN
> >> serverStartup: netcdf4 c library not present jna_path='/usr/local/lib'
> >> libname=netcdf4
> >>
> >> When I compile both netcdf4.3.2 and netcdf-c-4.3.2 I don't see a
> >> libnetcdf4.so . Is this expected?
> >>
> >> Thanks,
> >> Tom
> >>
> >> _______________________________________________
> >> thredds mailing list
> >> thredds@xxxxxxxxxxxxxxxx
> >> For list information or to unsubscribe, visit:
> >> http://www.unidata.ucar.edu/mailing_lists/
> >>
> >
> >
> >
> > --
> > Ryan May
> > Software Engineer
> > UCAR/Unidata
> > Boulder, CO
>
--
Ryan May
Software Engineer
UCAR/Unidata
Boulder, CO