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)
----------------------------------------------------------------------