[MINC-development] Problem building MINC2 from pure static libs

Andrew Janke a.janke at gmail.com
Tue Nov 20 18:21:32 EST 2007


Hi Rick,

On Nov 21, 2007 8:34 AM, Rick Hoge <rhoge at nmr.mgh.harvard.edu> wrote:

> I tried building the minc-2.0.14 source, and had problems when trying
> to build all libs static.
>
> Basically I built
>
> SZIP, ZLIB, HDF5, and NetCDF all with --disable-static in the
> configure step

Surely you mean --disable-shared ?

> If I configure MINC with --enable-minc2 and --disable-shared I get
>
>    checking for library hdf5... no
>    configure: error: cannot find required library hdf5
>
> Even though libhdf5.a is in the required place.  If I build HDF5
> including shared libs, the problem goes away.

What does config.log say?  I suspect that there is a linking problem
with one of the dependencies of HDF rather than hdf itself.


a


More information about the MINC-development mailing list