Re: [netcdfgroup] Software installation, netcdf problem!! "configure: error: netcdf library not found. ” but I have it!

  • Subject: Re: [netcdfgroup] Software installation, netcdf problem!! "configure: error: netcdf library not found. ” but I have it!
  • From: Brice Lambi <lambi@xxxxxxxx>
  • Date: Mon, 03 Aug 2009 10:09:11 -0600
Hi Javier,

Do you need these to be built statically?  If you have root access on
your machine you should be able to run 'ldconfig /usr/local/netcdf3' and
then try running configure again, (maybe without the enable-static
option).  This should add netcdf to the list of available shared
libraries and make it so the configure script can find it.

Good luck,
Brice Lambi


javier er wrote:
> Hello all netCDFgroup,
> 
> I 'm trying to install the soft Magics++-2.6.4 in my Ubuntu 9.04 PC.
> I have been follow the manual "Magics++ Installation Guide", and I have
> netcdf-4.0.1, hdf5 and hdf5_hl successfully installed in my PC (I guess).
> 
> When I try to configure the Magics++ I used these compiler flags:
> $ /sudo ./configure --prefix=/usr/local/magic3 --enable-32bit
> --enable-raster --with-grib-api=/usr/local
> --with-netcdf=/usr/local/netcdf3 --enable-static/
> 
> ...and I have the next error:
> /“checking for ncvarid in -lnetcdf... no
> configure: error: netcdf library not found. /” BUT I HAVE IT!! in
> /usr/local/netcdf3
> 
> I have been trying with other flags always obtain the same error.
> Someone knows what is the problem???
> 
> In the attach files I send the config.log from Magicss++, netcdf and
> HDF5 instalation.
> 
> I hope you can help me!
> Thanks in advance!
> Javier.
> 
> _Aditional information:_
> When I compiled the netcdf, I included the hdf5 library in the compiler
> flags:
> 
> _NETCDF Flags:_
> /$ sudo ./configure --prefix=/usr/local/netcdf3 --enable-netcdf-4
> --with-hdf5=/usr/local/hdf5_20 --with-zlib=/usr/local --enable-dap
> --with-curl=/usr/local
> /
> _HDF5 Flags:_
> /sudo ./configure --prefix=/usr/local/hdf5_20 --with-zlib=/usr/local/
> 
> Thanks!
> Javier.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit: 
> http://www.unidata.ucar.edu/mailing_lists/ 



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