[MINC-users] MINC2 on Mac OS X 10.5

Burt Crépeault burt.crepeault at crulrg.ulaval.ca
Tue Jul 29 11:39:43 EDT 2008


# file /sw/lib/libhdf5.0.0.0.dylib
/sw/lib/libhdf5.0.0.0.dylib: Mach-O dynamically linked shared library i386
# file /usr/local/bic/bin/register
/usr/local/bic/bin/register: Mach-O 64-bit executable x86_64


On Tue, Jul 29, 2008 at 11:17 AM, Alexandre CARMEL-VEILLEUX <
acveilleux at mrs.mni.mcgill.ca> wrote:

> It could be an intel vs. PPC issue as well. What's the output of:
>
> file /sw/lib/libhdf5.0.0.0.dylib
>
> and
>
> file /usr/local/bic/bin/register
>
> My "package" is a tar-ball of /usr/local on my build machine. All
> dependencies are compiled and in the various subdirectory. In the
> package, rawtominc (at least for the MINC 1.5 version) is broken
> due to a 32 vs 64 bit bug. My build will only run on an x86_64
> architecture 10.5 mac.
>
> Alex
>
> On Tue, Jul 29, 2008 at 10:58:49AM -0400, Burt Crépeault wrote:
> > Date: Tue, 29 Jul 2008 10:58:49 -0400
> > From: "Burt Crépeault" <burt.crepeault at crulrg.ulaval.ca>
> > To: "MINC users mailing list" <minc-users at bic.mni.mcgill.ca>
> > Subject: Re: [MINC-users] MINC2 on Mac OS X 10.5
> >
> > Ok, got a little further but not much. What I did so far on a fresh
> Leopard
> > install:
> >
> > - installed all the packages from
> > http://packages.bic.mni.mcgill.ca/osx-10.5/
> > - installed fink
> > - from a terminal:
> > # sudo apt-get install hdf5
> > # sudo apt-get install netcdf
> > # registerdyld: Library not loaded: /usr/local/lib/libhdf5.0.dylib
> >   Referenced from: /usr/local/bic/bin/register
> >   Reason: image not found
> > # sudo ln -sf /sw/lib/libhdf5.0.0.0.dylib /usr/local/lib/libhdf5.0.dylib
> > # registerdyld: Library not loaded: /usr/local/lib/libhdf5.0.dylib
> >   Referenced from: /usr/local/bic/bin/register
> >   Reason: no suitable image found.  Did find:
> >     /usr/local/lib/libhdf5.0.dylib: mach-o, but wrong architecture
> >     /usr/local/lib/libhdf5.0.dylib: mach-o, but wrong architecture
> > - tried installing hdf5 through macports, got same errors
> >
> > Is this a 32-bit vs. 64-bit error? Should I install Alex's 64-bit package
> > found at http://packages.bic.mni.mcgill.ca/osx-10.5-x86_64-alex/ ?
> >
> > Burt.
> >
> >
> > On Mon, Jul 28, 2008 at 2:26 PM, Alexandre CARMEL-VEILLEUX <
> > acveilleux at mrs.mni.mcgill.ca> wrote:
> >
> > > Andrew Janke's 10.5 packages assume that you have the following
> > > already installed:
> > >
> > >        libhdf5
> > >        libnetcdf
> > >
> > > He installs those with Fink. (http://www.finkproject.org/)
> > >
> > > Alex
> > >
> > > On Mon, Jul 28, 2008 at 02:03:40PM -0400, Burt Crépeault wrote:
> > > > Date: Mon, 28 Jul 2008 14:03:40 -0400
> > > > From: "Burt Crépeault" <burt.crepeault at crulrg.ulaval.ca>
> > > > To: "MINC users mailing list" <minc-users at bic.mni.mcgill.ca>
> > > > Subject: [MINC-users] MINC2 on Mac OS X 10.5
> > > >
> > > > Hi again,
> > > >
> > > > After downloading and installing all the packages from here on a
> fresh
> > > > install of Leopard, I'm still having problems. On most of them I get
> this
> > > > error message:
> > > >
> > > > dyld: Library not loaded: /usr/local/lib/libhdf5.0.dylib
> > > >   Referenced from: /usr/local/bic/bin/inormalize
> > > >   Reason: image not found
> > > > Trace/BPT trap
> > > >
> > > > (libhdf5.0.dylib is nowhere to be found on the Mac).
> > > >
> > > > I also got this error message attempting nu_correct:
> > > >
> > > > Can't locate MNI/Startup.pm in @INC (@INC contains:
> /Users/Simon/lib/perl
> > > > /System/Library/Perl/5.8.8/darwin-thread-multi-2level
> > > > /System/Library/Perl/5.8.8
> /Library/Perl/5.8.8/darwin-thread-multi-2level
> > > > /Library/Perl/5.8.8 /Library/Perl
> > > > /Network/Library/Perl/5.8.8/darwin-thread-multi-2level
> > > > /Network/Library/Perl/5.8.8 /Network/Library/Perl
> > > > /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level
> > > > /System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6
> /Library/Perl/5.8.1
> > > .)
> > > > at /usr/local/bic/bin/nu_correct line 37.
> > > > BEGIN failed--compilation aborted at /usr/local/bic/bin/nu_correct
> line
> > > 37.
> > > >
> > > > Obviously I'm missing some libraries and/or have wrongly set
> environment
> > > > variables.
> > > >
> > > > What are the dependencies for the minc packages to install and run
> > > properly?
> > > > Is there a readme somewhere about this? I looked all over the wiki
> but
> > > must
> > > > admit, coming from the outside, I feel kind of lost in there.
> > > >
> > > > Thanks,
> > > >
> > > > --
> > > > Burt Crépeault
> > > > Research Assistant
> > > > Centre de Recherche de l'Université Laval - Robert-Giffard
> > > > 418-663-5741, ext 6844
> > > > _______________________________________________
> > > > MINC-users at bic.mni.mcgill.ca
> > > > http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
> > > _______________________________________________
> > > MINC-users at bic.mni.mcgill.ca
> > > http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
> > >
> >
> >
> >
> > --
> > Burt Crépeault
> > Research Assistant
> > Centre de Recherche de l'Université Laval - Robert-Giffard
> > 418-663-5741, ext 6844
> >
> > >
> >
> >
> > --
> > Burt Crépeault
> > Research Assistant
> > Centre de Recherche de l'Université Laval - Robert-Giffard
> > 418-663-5741, ext 6844
> > _______________________________________________
> > MINC-users at bic.mni.mcgill.ca
> > http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>



-- 
Burt Crépeault
Research Assistant
Centre de Recherche de l'Université Laval - Robert-Giffard
418-663-5741, ext 6844


More information about the MINC-users mailing list