[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #CAF-785846]: cygwin/gfortran 4.6/netcdf-4.1.1 link problem
- Subject: [netCDF #CAF-785846]: cygwin/gfortran 4.6/netcdf-4.1.1 link problem
- Date: Wed, 26 May 2010 15:36:44 -0600
Oops, that last line got mangled:
> Most of the other libraries are just needed for the OPeNDAP client support.
> "-L/usr/local/gfortran/lib -lnetcdf".
It should have been:
If you build shared libraries with the --enable-shared configure option,
linking can get dramatically simpler, because the shared libraries "know"
what they depend on so you don't need to. With shared libraries, you
might only need "-L/usr/local/gfortran/lib -lnetcdf".
> If you build with --enable-shared, linking can get dramatically simpler, as
> the dynamically loaded libraries "know" what they depend on, so you don't
> have to. With a shared build, you might only need
> > Thanks!
> > -Rich
> >
> >
> > > Also, if you installed nc-config along with the other netCDF utilities
> > > like ncgen and ncdump, you should look at the output from
> > >
> > > nc_config --flibs
> > >
> > > which will show how Fortrna programs should be linked with your
> > > installation.
> > >
> > > If none of these solve the problem, please let us know ...
> > >
> > > --Russ
> > >
> > > Russ Rew UCAR Unidata Program
> > > address@hidden http://www.unidata.ucar.edu
> > >
> > >
> > >
> > > Ticket Details
> > > ===================
> > > Ticket ID: CAF-785846
> > > Department: Support netCDF
> > > Priority: Normal
> > > Status: Closed
> > >
> > >
> >
> >
> >
> > --
> > Dr. Richard P. Signell (508) 457-2229
> > USGS, 384 Woods Hole Rd.
> > Woods Hole, MA 02543-1598
> >
> >
>
> Russ Rew UCAR Unidata Program
> address@hidden http://www.unidata.ucar.edu
>
>
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: CAF-785846
Department: Support netCDF
Priority: Normal
Status: Closed