SCM

[#1342] Installing binary packages with Fortran code in MacOS

Date:
2011-04-05 12:59
Priority:
3
State:
Closed
Submitted by:
Jari Oksanen (jarioksa)
Assigned to:
Nobody (None)
Hardware:
Macintosh
Operating System:
None
Severity:
enhancement
URL:
Summary:
Installing binary packages with Fortran code in MacOS

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

Comments:

No Comments Have Been Posted

Attached Files:

Changes

Field Old Value Date By
status_idOpen2019-04-26 11:49gstar
close_dateNone2019-04-26 11:49gstar
Thanks to:
Vienna University of Economics and Business Powered By FusionForge