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 --
problem with lme4a on mac: libRlapack.dylib not found
2 messages · gregor.hochschild at gmx.de, David Winsemius
1 day later
It seems possible that your failure to update since Simon fixed a problem with the Mac version of 2.14.0 loading packages is at the root of your difficulties. The problem was fixed about a week or so after the date on your sessionInfo. https://stat.ethz.ch/pipermail/r-sig-mac/2011-November/008757.html (It wasn't just the "zoo" package mentioned in that thread, but several others were affected as well.)
David. On Nov 19, 2011, at 5:58 AM, gregor.hochschild at gmx.de wrote: > 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 > > -- > > _______________________________________________ > R-sig-mixed-models at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models David Winsemius, MD West Hartford, CT