help-octave
[Top][All Lists]
Advanced

[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: Wed, 11 Apr 2012 18:58:16 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

Thanks for the amazingly quick answer!

If for some reason you do need to build NetCDF yourself, then build a
dynamic link of it.

Indeed, I build Unidata NetCDF myself. I knew that Ubuntu includes a
NetCDF library now, but I specifically need the Unidata library for
another package. I believe thus I can do 2 things:

1) Perhaps I could link to the Ubuntu NetCDF library (and not the the
Unidata one, which seems to be default) when I compile Octave? Do you
know how to do this? (I think something like ./cofigure
--with-netcdf=path2Ubuntu-netcdf).

2) I build now a shared library of the Unidata NetCDF (configure with
--enable-shared) and I'm recompiling octave now, which takes some
time... I can tell tomorrow if this worked but I guess 1) is the
simplest solution...

Cheers, Ismael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]