Hi,
after installing bioconductor (as on webpage), I get into a problem with DEP and GMM. When I try to run library(DEP) or library(GMM) the following error occurs:
Ony these two packages seem to have a problem.
library(gmm) Loading required package: sandwich Error: package or namespace load failed for ‘gmm’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/gmm/libs/gmm.so': dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/gmm/libs/gmm.so, 6): Library not loaded: /usr/local/gfortran/lib/libgomp.1.dylib Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/gmm/libs/gmm.so Reason: no suitable image found. Did find: /usr/local/gfortran/lib/libgomp.1.dylib: mach-o, but wrong architecture /usr/local/gfortran/lib/libgomp.1.dylib: mach-o, but wrong architecture
or
library(DEP) Error: package or namespace load failed for ‘DEP’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/gmm/libs/gmm.so': dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/gmm/libs/gmm.so, 6): Library not loaded: /usr/local/gfortran/lib/libgomp.1.dylib Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/gmm/libs/gmm.so Reason: no suitable image found. Did find: /usr/local/gfortran/lib/libgomp.1.dylib: mach-o, but wrong architecture /usr/local/gfortran/lib/libgomp.1.dylib: mach-o, but wrong architecture
Latest XCode is installed.
Hi Tomaz,
Did you resolve this issue? I have the same problem.
Here's hoping someone will answer.
-Maibritt
Hi,
I had the same problem. All I had to do was install gfortran.
Pick the right release here https://github.com/fxcoudert/gfortran-for-macOS/releases