On Wed, 23 Jan 2008, Katharine Mullen wrote:

> I am running 64-bit Ubuntu 7.10 and unfortunately remember seeing that
> error message but not how I got it to go away.
>
> I would first try compiling netcdf-3.6.2 from source, without changing the
> default directories for installation.

You need to make a shared library, if your Linux distro does not provide 
one (and e.g. Fedora does but puts the include files somewhere no package 
finds them), or (less satisfactorily) to compile a static library with 
-fPIC. Also, you do need to change the default directory for the library 
to /usr/local/lib64.

I've just looked at what I did last weeek, and in 3.6.2 you can do

./configure --enable-shared --disable-static --libdir=/usr/local/lib64
make all install

to get a shared library in the right place.  (In e.g. 3.6.1 it was much 
harder.)

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to