[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #NTL-246975]: 'lib' directory not found in netCDF-4.3.0 'C' install
- Subject: [netCDF #NTL-246975]: 'lib' directory not found in netCDF-4.3.0 'C' install
- Date: Tue, 04 Jun 2013 10:36:45 -0600
Ravi,
You've done everything necessary to install netCDF Fortran and C software.
--Russ
> Thanks for the reply. I followed instructions to install netCDF 'C' on this
> page (after installing zlib & HDF5):
> http://www.unidata.ucar.edu/software/netcdf/docs/build_default.html
> And it said "Congratulations! You have successfully installed netCDF! "
>
> I installed HDF5, zlib & the target install directory all in a separate
> directory called '~/work/local'.
> Then I followed instructions for installing FORTRAN netCDF, pointing to the
> same directory '~/work/local'.
> It said "Congratulations! You have successfully installed the netCDF Fortran
> libraries."
>
> I did a 'make check' in my netCDF Fortran4.2 directory (not the
> '~/work/local') and it says "All 8 tests passed'.
>
> Does this mean I installed netCDF Fortran and 'C' properly ? Is there
> anything else I need to do ?
> Thanks
> Ravi
>
>
>
>
>
> On Jun 3, 2013, at 11:39 PM, "Unidata netCDF Support" <address@hidden> wrote:
>
> > Hi Ravi,
> >
> >> I installed netCDF 'C' library and I do not see a 'lib' directory in the
> >> install. Instead, I see several directories that are:
> >> ********
> >> [ruk15@lionxf netcdf-4.3.0]$ ls lib*
> >> libcdmr/ libdispatch/ liblib/ libsrc/ libtool
> >> libdap2/ lib_flags.am librpc/ libsrc4/
> >> [ruk15@lionxf netcdf-4.3.0]$
> >> *********
> >>
> >> I need 'lib' directory to set the ${LD_LIBRARY_PATH} variable so that I
> >> can install netCDF Fortran. So can you tell me why there is no 'lib'
> >> directory in the installation for C?
> >
> > What you're looking at is not a binary installation, but a source
> > distribution of
> > the netCDF C library, version 4.3.0. In order to convert that into an
> > installation,
> > you have to configure it, specifying where it should be installed, then
> > build it with
> > a C compiler, then install it, as described here:
> >
> > http://www.unidata.ucar.edu/netcdf/docs/building.html
> >
> > After the C library is installed, you can install netCDF Fortran by
> > following these
> > instructions:
> >
> > http://www.unidata.ucar.edu/netcdf/docs/netcdf-fortran-install.html
> >
> > If instead you want a binary installation, they're available for some
> > platforms
> > through package management systems such as dpkg, yum, macports, etc.
> >
> > --Russ
> >
> > Russ Rew UCAR Unidata Program
> > address@hidden http://www.unidata.ucar.edu
> >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: NTL-246975
> > Department: Support netCDF
> > Priority: Normal
> > Status: Closed
> >
>
>
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: NTL-246975
Department: Support netCDF
Priority: Normal
Status: Closed