Error with libJPEG.dylib on MAC OS 10.4 Tiger...

Questions about BrainVisa usage and installation

Moderators: denghien, riviere

Post Reply
dbkeator
Posts: 1
Joined: Fri Jul 29, 2005 6:03 pm
Location: University of California, Irvine

Error with libJPEG.dylib on MAC OS 10.4 Tiger...

Post by dbkeator »

Hello,

I receive the following error when trying to install or run the anatomist software. It's a library problem. Anyone run into this and have a fix?

David-Keators-Computer:/Applications/brainvisa/bin dbkeator$ anatomist -info
dyld: Library not loaded: /System/Library/Frameworks/ApplicationServices.framewo
rk/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Vers
ions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Reason: Incompatible library version: ImageIO requires version 1.0.0 or later,
but libjpeg.dylib provides version 0.0.0
Trace/BPT trap

Thanks,

Dave
User avatar
riviere
Site Admin
Posts: 1361
Joined: Tue Jan 06, 2004 12:21 pm
Location: CEA NeuroSpin, Saint Aubin, France
Contact:

Post by riviere »

Guidon
Posts: 23
Joined: Fri Mar 25, 2005 9:34 pm
Location: Rochester, New York, USA
Contact:

Post by Guidon »

he workaround consists of replacing the libjpeg.dylib in brainvisa/lib with the library libJPEG.dylib which can be copied and renamed from the ImageIO framework (mine is in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib). Instead of removing libjpeg and libtiff.dylib, I renamed them with the prefix archive_
I also replaced libpng.dylib with /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib and libqt-mt.3.dylib which I copied from /Developer/qt/lib/libqt-mt.3.dylib. I didn't touch the other png libraries provided in the brainvisa package.
Sorry I forgot to the put the compiled qt library on Denis' ftp. You can download it by right clicking and save the target from this link:
http://rcbi.rochester.edu/~aguidon/libqt-mt.3.3.4.dylib

Then, copy it into $BRAINVISA/lib and change the symbolic link libqt-mt.3.dylib to point to libqt-mt.3.3.4 using the command:
ln -s libqt-mt.3.3.4.dylib libqt-mt.3.dylib
or something like that.

Good luck

Arnaud
Kind Regards,

Arnaud Guidon, Rochester NY
synic
Posts: 83
Joined: Fri Oct 15, 2004 4:15 pm
Location: France Pitié Salpêtrière

Post by synic »

It looks working very well !

thanks a lot.
Post Reply