NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] release of version 4.2 of the netCDF Fortran libraries...

On Tue, Oct 04, 2011 at 04:48:39 -0600, Ed Hartnett wrote:
> Karsten Bolding <karsten@xxxxxxxxxxxxxxxxxxxx> writes:

<snip>

> 
> Howdy Karsten!
> 
> Probably you need to set LD_LIBRARY_PATH to /opt/netcdf4/lib.
> 
> When using shared libraries, it's not enough to specify library location
> in the LDFLAGS, you must also set LD_LIBRARY_PATH.


works with these settings:

FC=ifort F77=ifort CPPFLAGS="-I /opt/netcdf4/include/" 
LDFLAGS="-L/opt/netcdf4/lib" LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/netcdf4/lib 
./configure

<snip>

> 
> Ed
> -- 
> Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx
> 

Karsten

-- 
----------------------------------------------------------------------
Karsten Bolding                    Bolding & Burchard ApS
Strandgyden 25                     Phone: +45 64422058
DK-5466 Asperup                    Fax:   +45 64422068
Denmark                            Email: karsten@xxxxxxxxxxxxxxxxxxxx

http://www.findvej.dk/Strandgyden25,5466,11,3

Q: What is irony?
A: Almost the same as goldy and bronzy - just made of iron ...
(from Blackadder)
----------------------------------------------------------------------



  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: