2010/12/5 José Luis García Pallero <jgpall...@gmail.com>:
> Hello,
>
> El día 5 de diciembre de 2010 15:33, Alexander Barth
> <barth.alexan...@gmail.com> escribió:
>> You might also try the following address:
>> nc = netcdf('http://test.opendap.org/dap/data/nc/fnoc1.nc','r');
>>
>> Does this address work for you?
>
> This command produces a segmentation fault too.
>
>> Can you also send me the output of the following commands:
>>
>> nc-config --version
>> ncdap-config --version
>> dap-config --version
>
> t...@geo:~$ nc-config --version
> netCDF 4.1.1
> t...@geo:~$ ncdap-config --version
> libdap 3.9.3
> t...@geo:~$ dap-config --version
> libdap 3.9.3
>
> As I mailed, in my system ncdap-config is a symbolic link to dap-config
>
>> In a previous email you wrote:
>>>  There is no problem because I need to install the opendap packages and
>>> create a symbolic link named ncdap-config because in Debian the
>>> program is called dap-config. Then the compilation runs without
>>> warnings.
>>
>> This might be the cause of the problem. I think you have only the
>> DAP++ SDK installed.
>>
>> To use opendap, uou need either:
>> * netCDF opendap Client Library
>> (http://www.opendap.org/download/nc-dap.html) which depends on the
>> DAP++ SDK. This library will install the ncdap-config script or
>> * netcdf 4 with opendap enabled.
>
> I've installed all packeges directly related with netCDF in Debian
> Sid: libnetcdf6, libnetcdf-dev, netcdf-bin, nco and ncview
> Related with opendap, Debian repositories contain: libdap-bin,
> libdap-dev and libdap10 and I have installed all. In the description
> of the packages says:
>
> libdap-bin: This package contains the 'getdap' client binary.
> libdap-dev: This package contains header files, pkgconfig files and
> static libraries for DAP.
>
> Thanks for your time


Hi José,

You need a library called libdap.a *and* a library called libnc-dap.a.
Can you check if you have both? I usually install them from source and
I have the following files:

$ ls /usr/local/include/
libdap  libnc-dap
$ ls /usr/local/lib
libdap.a         libdapclient.so        libdap.la
libdapserver.so        libdap.so        libnc-dap.a   libnc-dap.so.3
libdapclient.a   libdapclient.so.3      libdapserver.a
libdapserver.so.6      libdap.so.9      libnc-dap.la
libnc-dap.so.3.0.5
libdapclient.la  libdapclient.so.3.0.0  libdapserver.la
libdapserver.so.6.0.0  libdap.so.9.0.0  libnc-dap.so  pkgconfig

Cheers,
Alex

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to