Detailed description |
Dear R-Forge maintainers,
I have been informed recently that installation of binary package from R-Forge fails in MacOS. I don't have this problem, but other users have. This is the error they get when they try to load the package after seemingly successful installation:
Loading required package: vegan
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/Library/Frameworks/R.framework/Versions/2.12/Resources/library/vegan/libs/x86_64/vegan.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.12/Resources/library/vegan/libs/x86_64/vegan.so, 6): Library not loaded: /usr/local/lib/libgfortran.2.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/2.12/Resources/library/vegan/libs/x86_64/vegan.so
Reason: image not found
The problem seems to missing Fortran runtime library.
This issue seems to be discussed in R-MacOSX-FAQ section 5.4 which tells how to change the the package.so file to point to a fortran runtime library in the MacOSX R installation instead of the runtime used to build the package (and they say they do this in CRAN). Could it be possible to get this operation also in R-Forge so that users without similar Fortran compilers could be able to use R-Forge binaries.
URL of the appropriate section in R-MacOSX-FAQ is
http://cran.R-project.org/bin/macosx/RMacOSX-FAQ.html#Building-universal-package
Best wishes, Jari Oksanen |
|