[rkward-devel] Trouble loading packages on the Mac

meik michalke meik.michalke at uni-duesseldorf.de
Wed Mar 13 16:35:18 UTC 2013


hi,

Am Mittwoch, 13. März 2013, 16:23:13 schrieb meik michalke:
> the binaries seem to expect R to be installed to 
>   /Library/Frameworks/R.framework/
> but the bundle places R in
>   /opt/rkward/Library/Frameworks/R.framework/
> 
> i tried to hotfix this with a symlink, but apparently, libgfortran.2.dylib
> is  actually not available at all

after some digging, here's a workaround:

  cd /opt/rkward/Library/Frameworks/R.framework/Versions/2.15/Resources/lib
  sudo ln -s /opt/rkward/lib/gcc45/libgfortran.3.dylib ./libgfortran.2.dylib
  sudo ln -s /opt/rkward/lib/gcc45/libgcc_s.1.dylib .

  cd /Library/Frameworks/R.framework/Versions/
  sudo ln -s /opt/rkward/Library/Frameworks/R.framework/Versions/2.15 .
  sudo ln -snF 2.15 Current

well, i wasn't able to verify whether libgfortran.3.dylib is fully backward 
compatible with libgfortran.2.dylib. but after these steps, the binary package 
of lme4 loaded without any errors or warnings.


viele grüße :: m.eik

-- 
  dipl. psych. meik michalke
  abt. f"ur diagnostik und differentielle psychologie
  institut f"ur experimentelle psychologie
  heinrich-heine-universit"at d"usseldorf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20130313/90aeffda/attachment.sig>


More information about the Rkward-devel mailing list