[R-sig-ME] problem with lme4a on mac: libRlapack.dylib not found

gregor.hochschild at gmx.de gregor.hochschild at gmx.de
Sat Nov 19 11:58:47 CET 2011


Hi,

I have a problem with lme4a on my Mac with Lion 10.7.2 and R 2.14.0. Installing lme4a works without any problems but when I try to load the library I get an error connected to libRlapack.dylib. I already solved a problem connected to libgfortran.2.dylib based on these instructions:
https://stat.ethz.ch/pipermail/r-sig-mixed-models/2011q3/006397.html

XCode is installed and I also find libRlapack.dylib using terminal 'locate libRlapack.dylib' in this location '/Library/Frameworks/R.framework/Versions/2.14/Resources/lib/' (output is below), which seems to match '@rpath/R.framework/Versions/2.14/Resources/lib/libRlapack.dylib' from library("lme4a").

Below are the outputs from library("lme4a"), locate libRlapack.dylib, and sessionInfo().

Thanks for any help!

Greg 





Loading the library
===================

library("lme4a")
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/Users/USER/Library/R/2.14/library/lme4a/libs/i386/lme4a.so':
  dlopen(/Users/USER/Library/R/2.14/library/lme4a/libs/i386/lme4a.so, 6): Library not loaded: @rpath/R.framework/Versions/2.14/Resources/lib/libRlapack.dylib
  Referenced from: /Users/USER/Library/R/2.14/library/lme4a/libs/i386/lme4a.so
  Reason: image not found
Error: package/namespace load failed for ‘lme4a’


locate libRlapack.dylib
=======================
/Library/Frameworks/R.framework/Versions/2.14/Resources/lib/i386/libRlapack.dylib
/Library/Frameworks/R.framework/Versions/2.14/Resources/lib/libRlapack.dylib
/Library/Frameworks/R.framework/Versions/2.14/Resources/lib/libRlapack.dylib.dSYM
/Library/Frameworks/R.framework/Versions/2.14/Resources/lib/libRlapack.dylib.dSYM/Contents
/Library/Frameworks/R.framework/Versions/2.14/Resources/lib/libRlapack.dylib.dSYM/Contents/Info.plist
/Library/Frameworks/R.framework/Versions/2.14/Resources/lib/libRlapack.dylib.dSYM/Contents/Resources
/Library/Frameworks/R.framework/Versions/2.14/Resources/lib/libRlapack.dylib.dSYM/Contents/Resources/DWARF
/Library/Frameworks/R.framework/Versions/2.14/Resources/lib/libRlapack.dylib.dSYM/Contents/Resources/DWARF/libRlapack.dylib
/Library/Frameworks/R.framework/Versions/2.14/Resources/lib/x86_64/libRlapack.dylib


sessionInfo()
=============

R version 2.14.0 (2011-10-31)
Platform: i386-apple-darwin9.8.0/i386 (32-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] MatrixModels_0.2-1 minqa_1.1.18       Rcpp_0.9.7.2       int64_1.0.0       
[5] Matrix_1.0-1       lattice_0.20-0    

loaded via a namespace (and not attached):
[1] grid_2.14.0    nlme_3.1-102   splines_2.14.0 tools_2.14.0 

--




More information about the R-sig-mixed-models mailing list