-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 5/10/11 9:23 PM, Gary K Olson wrote:
> I reinstalled R on fink which works fine from the command line.  When I 
> downloaded the current version of the R.app GUI, I found that the info.plist 
> no longer has the /Library/Frameworks/etc. entry, so I can not change this 
> path to /sw/Library/Frameworks/etc.  I saw this problem in a mailist entry 
> from 2008, and I applied the suggested solution by Alexander Hansen: 
> 
> sudo install_name_tool -change 
> /Library/Frameworks/R.framework/Versions/2.13/Resources/lib/libR.dylib 
> /sw/Library/Frameworks/R.framework/Versions/2.12/Resources/lib/libR.dylib 
> /Applications/R.app/Contents/MacOS/R
> 
> When I double clicked on the R.app in Applications, it did not run, and the 
> error message was:
> 
> Dyld Error Message:
>   Library not loaded: 
> /sw/Library/Frameworks/R.framework/Versions/2.12/Resources/lib/libR.dylib
>   Referenced from: /Applications/R.app/Contents/MacOS/R
>   Reason: no suitable image found.  Did find:
>       
> /sw/Library/Frameworks/R.framework/Versions/2.12/Resources/lib/libR.dylib: 
> mach-o, but wrong architecture
> 
> So, the Library path was changed, but it expected a different architecture. 
> It should have been expecting an x86_64 or i386. Does anyone have any 
> suggestions?  The GUI is nice, but I can always work from the command line if 
> I have to.  
> 
> Gary K Olson
> 

It depends on what the architecture of
/Applications/R.app/Contents/MacOS/R is.  What do you get from

file /Applications/R.app/Contents/MacOS/R
file
/sw/Library/Frameworks/R.framework/Versions/2.12/Resources/lib/libR.dylib

?
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3KhrcACgkQB8UpO3rKjQ//0QCeJZZP3oyysx9cfTh+CrNOlXzt
dmAAoI9+NfcwLmshBEWWOGPfE41xVMl2
=66Lz
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to