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

Jonathan Harlap jharlap at bic.mni.mcgill.ca
Tue Nov 20 19:01:44 EST 2007


I'd agree with Andrew, and just point out that I've seen fun games  
with 64 vs 32 bit libs in Leopard...  Perhaps check with `file` that  
the architecture of your objects and libraries match.

Cheers,
J



On 20-Nov-07, at 6:21 PM, Andrew Janke wrote:

> 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
> _______________________________________________
> MINC-development mailing list
> MINC-development at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-development



More information about the MINC-development mailing list