TileDB-SOMA: [r] Install failure for arm64 (Mac M2) R 4.2

Describe the bug

if [ "" != "Windows_NT" ] && [ `uname -s` = 'Darwin' ] && [ -f ../inst/tiledb/lib/libtiledb.dylib ] && [ -f tiledbsoma.so ]; then install_name_tool -change libz.1.dylib @rpath/libz.1.dylib ../inst/tiledb/lib/libtiledb.dylib; install_name_tool -add_rpath @loader_path/../tiledb/lib tiledbsoma.so; fi
installing to /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/00LOCK-tiledbsoma/00new/tiledbsoma/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
Error : EphemeralCollection.Rd:7: unable to load shared object '/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/00LOCK-tiledbsoma/00new/tiledbsoma/libs/tiledbsoma.so':
  dlopen(/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/00LOCK-tiledbsoma/00new/tiledbsoma/libs/tiledbsoma.so, 0x0006): symbol not found in flat namespace '__ZN10tiledbsoma13LOG_SET_LEVELERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE'
ERROR: installing Rd objects failed for package ‘tiledbsoma’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/tiledbsoma’

To Reproduce Running install.packages('tiledbsoma', repos = c('https://tiledb-inc.r-universe.dev', 'https://cloud.r-project.org')) in R

Versions (please complete the following information):

  • TileDB-SOMA version: ?
  • Language and language version (e.g. Python 3.8, R 4.2.2): R 4.2.3
  • OS (e.g. MacOS, Ubuntu Linux): MacOS 13.3.1
  • Note: you can use tiledbsoma.show_package_versions() (Python) or tiledbsoma::show_package_versions() ®

Additional context Add any other context about the problem here.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 19 (14 by maintainers)

Most upvoted comments

This should now be taken care of by #1361. We will refine further as needed but e.g. the r-universe is back and builds via remotes::install_github() should work too (with the proper sub-directory hint for apis/r).