[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octcdf-1.1.4 yields recompile with -fPIC
From: |
Ismael Núñez-Riboni |
Subject: |
Re: octcdf-1.1.4 yields recompile with -fPIC |
Date: |
Mon, 16 Apr 2012 12:29:41 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
>> I think I need to configure octave with the path to the either the
>> ubuntu netcdf library or to the unidata netcdf library, something
>> like "./cofigure --with-netcdf=path2Ubuntu-netcdf" but I simply do
>> not know how to do this...
Here is the solution to my own problem:
./configure CPPFLAGS=-I/usr/local/lib LDFLAGS=-L/usr/local/lib
The path to the netcdf libraries can be found with:
sudo updatedb
locate libnetcdf.so.4
As I mentioned in a previous post, the netCDF library was compiled with:
sudo ./configure --enable-shared
Now octdf is working under octave... Sadly, almost one week of time
lost, but thanks, anyhow, for the initial replay...