Hello All,
I recently upgraded to OS X 10.6.8 and installed elegant and the sdds toolbox from the binaries. Elegant is working fine but the sdds toolbox utilities do not. I installed all the libraries following Jim's install note. But keep getting an error stating for some library (which one depending on which sdds tool I am trying to use -- see example below) is "mach-o, but wrong architecture".
I did download the latest version from the web [darwin-x86_SDDS.tar.gz (January 31, 2011)
Binary OS X executables.] so I am not puzzled why it complains about the wrong architecture.
Thank you for any help! -- Philippe Piot.
example of full error message
SDDSPRINTOUT
bash-3.2$ ~/Simulation_Codes/OAG/sdds/sddsprintout -column=betax FLASH.twi
dyld: Library not loaded: /sw/lib/libtiff.3.dylib
Referenced from: /Users/piot/Simulation_Codes/OAG/sdds/sddsprintout
Reason: no suitable image found. Did find:
/sw/lib/libtiff.3.dylib: mach-o, but wrong architecture
SDDSPLOT
bash-3.2$ ~/Simulation_Codes/OAG/sdds/sddsplot -column=s,betax FLASH.twi
dyld: Library not loaded: /sw/lib/libgd.2.dylib
Referenced from: /Users/piot/Simulation_Codes/OAG/sdds/sddsplot
Reason: no suitable image found. Did find:
/sw/lib/libgd.2.dylib: mach-o, but wrong architecture
Trace/BPT trap
Elegant & SDDS on Mac OS X 10.5
-
- Posts: 83
- Joined: 20 Aug 2008, 13:18
- Location: Northern Illinois University & Argonne National Laboratory
- Contact:
Re: Elegant & SDDS on Mac OS X 10.5
When I run: lipo -info /sw/lib/libtiff.3.dylib
I get: Non-fat file: /sw/lib/libtiff.3.dylib is architecture: i386
My guess is that you probably have a 64bit version installed. I do not have access to a 64bit OSX machine so I can't test what happens when you try to run these on that operating system. I assume that Fink must have a way to let you install 32bit libraries on a 64bit system.
I get: Non-fat file: /sw/lib/libtiff.3.dylib is architecture: i386
My guess is that you probably have a 64bit version installed. I do not have access to a 64bit OSX machine so I can't test what happens when you try to run these on that operating system. I assume that Fink must have a way to let you install 32bit libraries on a 64bit system.
-
- Posts: 83
- Joined: 20 Aug 2008, 13:18
- Location: Northern Illinois University & Argonne National Laboratory
- Contact:
Re: Elegant & SDDS on Mac OS X 10.5
Bob, Thank you for your reply. You are right my system is 64 bits and so are the libraries... I checked and do not see a way to get fink to install 32 bits library on a 64 bits. It seems people usually boot their mac in either 32 or 64 bits. So I guess my only choice if I want to run my mac in 64 bits is to install from source. Is there any directions to do so? Probably following the linux direction will get me there otherwise. Thank you for any help. All the best, -- Philippe.
Re: Elegant & SDDS on Mac OS X 10.5
From what I am reading, it look like during the initial Fink installation it will ask you if you want to install it in "default mode" or "64 bit mode". But I don't have privileges on the remote mac computer I have access to to test it out.
The linux guide for building the software would be a good starting point.
The linux guide for building the software would be a good starting point.