OpenMx does not work after updating R 3.6

Posted on
No user picture. Veronica_echo Joined: 02/23/2018
Hi everyone,

After updating R3.6, OpenMx doesn't work. My OS is macOS Mojave version10.14.5. I am pasting the error message I got. Any advice about it? Thanks in advance.

Veronica

Error: package or namespace load failed for ‘OpenMx’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/3.6/Resources/library/OpenMx/libs/OpenMx.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.6/Resources/library/OpenMx/libs/OpenMx.so, 6): Library not loaded: /usr/local/lib/libgomp.1.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.6/Resources/library/OpenMx/libs/OpenMx.so
Reason: image not found

Replied on Wed, 05/29/2019 - 06:35
Picture of user. tbates Joined: 07/31/2009

R 3.6 involved some compile updates which might have caused this (although it shouldn't have, I think).

A the (new) version of OpenMx on our repository should resolve any issue with R 3.6

source("https://openmx.ssri.psu.edu/getOpenMx.R")

note too: install.packages("OpenMx") from CRAN will always allow you to keep working.