Problem with installing OpenMx on R 2.13

3 replies [Last post]
Jean's picture
Offline
Joined: 11/10/2009

Hi I tried the method provided by Horn to solve the problem. However, it does not work. I still receive the error message like:

> require(OpenMx)
Loading required package: OpenMx
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/Library/Frameworks/R.framework/Versions/2.13/Resources/library/OpenMx/libs/x86_64/OpenMx.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/OpenMx/libs/x86_64/OpenMx.so, 6): no suitable image found. Did find:
/Library/Frameworks/R.framework/Versions/2.13/Resources/library/OpenMx/libs/x86_64/OpenMx.so: unknown required load command 0x80000022

My R version is as follows:
R.Version()
$platform
[1] "i386-apple-darwin9.8.0"

$arch
[1] "i386"

$os
[1] "darwin9.8.0"

$system
[1] "i386, darwin9.8.0"

$status
[1] ""

$major
[1] "2"

$minor
[1] "13.1"

$year
[1] "2011"

$month
[1] "07"

$day
[1] "08"

$`svn rev`
[1] "56322"

$language
[1] "R"

$version.string
[1] "R version 2.13.1 (2011-07-08)"

Does anyone know how to deal with this problem?

rgore's picture
Offline
Joined: 01/27/2011
Re: Problem with installing OpenMx on R 2.13

Hi Jean,
I have just sent you a new OpenMx 1.1 binary (both 32-bit and 64-bit versions) to try via email. I'm sorry you ran into trouble. We have switched to a new building machine (my laptop) which runs OS X 10.6 instead of 10.5 which our old machine ran. I believe we have remedied the issue by using a new flag in our building script. Please try the version out and get back to me via the forums or email. Instructions for installing the emailed copies of OpenMx 1.1 are below and in the emails I sent. Thanks for your patience and bearing with me.

Ross

You can install the new OpenMx 1.1 binary by typing the following in an R session.

install.packages("PATH_TO_BINARY_FILE/OpenMx_1.1.0-1764.tar.gz", repos=NULL)

For me PATH_TO_BINARY_FILE was '/Users/rossgore/src/OpenMx/tags/stable-1.1/build/OpenMx_1.1.0-1764.tar.gz'. For you it will be where ever you download the attached binary.

Jean's picture
Offline
Joined: 11/10/2009
Problem Solved! Thank you

Problem Solved!
Thank you Ross!

rgore's picture
Offline
Joined: 01/27/2011
Re: Problem with installing OpenMx on R 2.13

There are now new binaries of OpenMx 1.1 available via source('http://openmx.psyc.virginia.edu/getOpenMx.R') which addresses this issue for Mac OS X 10.5 users. If any other users experience issues please let me know.