nclark-lab / RERconverge

Analysis of convergence between organismal traits and DNA/protein sequences
GNU General Public License v3.0
46 stars 26 forks source link

Unable to load RERconverge on M1 Mac #78

Open MattChristmas opened 1 year ago

MattChristmas commented 1 year ago

Hi,

Are there known issues with running RERconverge on macs with M1 chips? I have followed your instructions for installing RERconverge from source and from the binary files but with no luck. It seems to install ok, but when I go to load it in R I get the following error:

Error: package or namespace load failed for ‘RERconverge’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RERconverge/libs/RERconverge.so':
  dlopen(/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RERconverge/libs/RERconverge.so, 0x0006): tried: '/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RERconverge/libs/RERconverge.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RERconverge/libs/RERconverge.so' (no such file), '/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RERconverge/libs/RERconverge.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

it seems like the chip architecture is the problem: "mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')"

Do you know a work around for this?

Thanks,

Matt

RishiDeKayne commented 1 year ago

Hi @MattChristmas, did you ever find a work-around/solve/update on this? I think I'm running into the same issue.

MattChristmas commented 1 year ago

I didn’t ever get a solution to this and ended up running RERconverge on a different non-M1 computerOn 8 Sep 2023, at 00:31, Rishi De-Kayne @.***> wrote: Hi @MattChristmas, did you ever find a work-around/solve/update on this? I think I'm running into the same issue.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>