Forums zMiscellaneous gEcon installation errors on macOS Sierra


This topic contains 0 replies, has 1 voice, and was last updated by  Leprofesseur } 2 years, 8 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #2407

    Leprofesseur }

    Error in dyn.load(file, DLLpath = DLLpath, …) :
    unable to load shared object ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/gEcon/libs/’:
    dlopen(/Library/Frameworks/R.framework/Versions/3.3/Resources/library/gEcon/libs/, 6): Library not loaded: /usr/local/opt/gcc48/lib/gcc/4.8/libgfortran.3.dylib
    Referenced from: /Library/Frameworks/R.framework/Versions/3.3/Resources/library/gEcon/libs/
    Reason: image not found
    Error: package or namespace load failed for ‘gEcon’
    starting httpd help server … done

    1. Install fortran from GNU website:
    2. Make directory tree under /usr/local
    cd /usr/local
    mkdir opt
    cd opt
    mkdir gcc48
    cd gcc48
    mkdir lib
    cd lib
    mkdir gcc
    mkdir 4.8
    cd 4.8
    3. make links
    ln -s /usr/local/gfortran/lib/libgfortran.3.dylib .
    ln -s /usr/local/gfortran/lib/libquadmath.dylib libquadmath.0.dylib

    4. You are all done! Just go to Packages&Data -> Package Manager and select gEcon.

    Please subscribe Leprofesseur } on Youtube!

    Sincerely, Harrish

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.