Hi all, I tried to load a package which includes a shared object on one of my Macs, and I got an error message below, which suggests that the file " libquadmath.0.dylib" is missing in the /usr/local/lib folder. On my other Mac however, I have no problem loading the package, and the file " libquadmath.0.dylib" is in the /usr/local/lib folder. I wonder where this libquadmath.0.dylib file is from, and how I can install it on the computer where it is missing. Thanks! library(WRScpp) Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Library/Frameworks/R.framework/Versions/3.1/Resources/library/WRScpp/libs/WRScpp.so': dlopen(/Library/Frameworks/R.framework/Versions/3.1/Resources/library/WRScpp/libs/WRScpp.so, 6): Library not loaded: /usr/local/lib/libquadmath.0.dylib Referenced from: /Library/Frameworks/R.framework/Versions/3.1/Resources/library/WRScpp/libs/WRScpp.so Reason: image not found Error: package or namespace load failed for ?WRScpp?? [[alternative HTML version deleted]]
Prof Brian Ripley
2014-Sep-03 05:49 UTC
[Rd] Library not loaded: /usr/local/lib/libquadmath.0.dylib
Wrong list: Mac-specific question to R-sig-mac please. On 03/09/2014 06:35, Xiao He wrote:> Hi all, > > I tried to load a package which includes a shared object on one of my Macs, > and I got an error message below, which suggests that the file " > libquadmath.0.dylib" is missing in the /usr/local/lib folder. On my other > Mac however, I have no problem loading the package, and the file " > libquadmath.0.dylib" is in the /usr/local/lib folder. I wonder where this > libquadmath.0.dylib file is from, and how I can install it on the computer > where it is missing. Thanks!It is part of gfortran. See the R-admin manual for where to install that from on OS X (I am guessing 10.9, but you really do need to follow the posting guide and tell us -- and not send HTML).> > library(WRScpp) > Error in dyn.load(file, DLLpath = DLLpath, ...) : > unable to load shared object > '/Library/Frameworks/R.framework/Versions/3.1/Resources/library/WRScpp/libs/WRScpp.so': > > dlopen(/Library/Frameworks/R.framework/Versions/3.1/Resources/library/WRScpp/libs/WRScpp.so, > 6): Library not loaded: /usr/local/lib/libquadmath.0.dylib > Referenced from: > /Library/Frameworks/R.framework/Versions/3.1/Resources/library/WRScpp/libs/WRScpp.so > Reason: image not found > Error: package or namespace load failed for ?WRScpp?? > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- Brian D. Ripley, ripley at stats.ox.ac.uk Emeritus Professor of Applied Statistics, University of Oxford 1 South Parks Road, Oxford OX1 3TG, UK