[MINC-users] dyld errors

Jon Erik Ween jween at klaru-baycrest.on.ca
Wed Mar 4 21:40:47 EST 2009


Friends (and the rest)

Well, I've been able to compile and install most of the tools (OS X  
10.5.6 MacPro) and they seem to work, except:

1) Can't build any of the visualizers (Display, register, etc) due to  
OpenGL linking problems and Netpbm problems (even having installed  
fink, sourced /sw/bin/init.sh,  etc.) The error I get using pre- 
compiled versions of Display now is:

dyld: Library not loaded: /libnetpbm.10.dylib
   Referenced from: /usr/local/mni2/bin/Display
   Reason: no suitable image found.  Did find:
         /sw/lib//libnetpbm.10.dylib: mach-o, but wrong architecture

2) Can't get Alex's 64 bit package to run (with the libs in that  
package or /sw/lib). Error:

bash-3.2$ ./Display
dyld: Symbol not found: __cg_jpeg_resync_to_restart
   Referenced from: /System/Library/Frameworks/ 
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ 
Versions/A/ImageIO
   Expected in: /Users/jween/Desktop/bic_tools/lib/libJPEG.dylib

I guess I'm ignorant about how to get the dynamic libraries to link  
properly, or what links exist are pointing in the wrong direction.  
Tried to comile netpbm from scratch, but couldn't find the jpg and  
tiff libs, etc.

Any hints would be appreciated.

Thanks

Jon

Soli Deo Gloria

Jon Erik Ween, MD, MS
Scientist, Kunin-Lunenfeld Applied Research Unit
Director, Stroke Clinic, Brain Health Clinic, Baycrest Centre
Assistant Professor, Dept. of Medicine, Div. of Neurology
     University of Toronto Faculty of Medicine

Kimel Family Building, 6th Floor, Room 644
Baycrest Centre
3560 Bathurst Street
Toronto, Ontario M6A 2E1
Canada

Phone: 416-785-2500 x3648
Fax: 416-785-2484
Email: jween at klaru-baycrest.on.ca


Confidential: This communication and any attachment(s) may contain  
confidential or privileged information and is intended solely for the  
address(es) or the entity representing the recipient(s). If you have  
received this information in error, you are hereby advised to destroy  
the document and any attachment(s), make no copies of same and inform  
the sender immediately of the error. Any unauthorized use or  
disclosure of this information is strictly prohibited.



On 11-Feb-09, at 8:21 PM, Andrew Janke wrote:

> Hi Jon,
>
> 2009/2/12 Jon Erik Ween <jween at klaru-baycrest.on.ca>:
>> Friends
>
> Romans... ?
>
>> I just migrated from Linux to OS X 10.5, but can't figure out how to
>> set the dynamic linker variables correctly to link to libs in /usr/
>> local and so forth.
>
> Hrm.  Have you got the fink'ish stuff in your .bashrc?
>
>   . /sw/bin/init.sh
>
>
> --
> Andrew Janke
> (a.janke at gmail.com || http://a.janke.googlepages.com/)
> Canberra->Australia    +61 (402) 700 883
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>



More information about the MINC-users mailing list