Skip to content

Installation error on Mac OS 12.6.3 with devtools #387

Open
@afni-gangc

Description

@afni-gangc

Describe the bug

Tried to install ANTsR with the command in R (version is 4.3.0) on MacBook Air (OS 12.6.3):

devtools::install_github('ANTsX/ANTsR')

It failed after two hours of compiling with the following error at the end:

Error: package or namespace load failed for ‘ANTsR’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/00LOCK-ANTsR/00new/ANTsR/libs/ANTsR.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/00LOCK-ANTsR/00new/ANTsR/libs/ANTsR.so, 0x0006): symbol not found in flat namespace (_composeDisplacementFields)
Error: loading failed

To Reproduce
Steps to reproduce the behavior:

  1. devtools::install_github('ANTsX/ANTsR')

Desktop (please complete the following information):

  • OS: iOS 12.6.3
  • R Version: 4.3.0

Additional context
See attached text for the full installation log.
ANTsR.install.error.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions