Skip to content

Strange install bug on Mac OS Sequoia, R 4.5.1 #54

Description

@be-green

This package is failing install with a very mysterious error message that I can't say I've seen before, looking for some insight.

Here's the error:

** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘farver’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/Users/bcg/Documents/Projects/warff/renv/library/macos/R-4.5/aarch64-apple-darwin24.4.0/00LOCK-farver/00new/farver/libs/farver.so':
  dlopen(/Users/bcg/Documents/Projects/warff/renv/library/macos/R-4.5/aarch64-apple-darwin24.4.0/00LOCK-farver/00new/farver/libs/farver.so, 0x0006): symbol not found in flat namespace '__ZNSt3__113__hash_memoryEPKvm'
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Users/bcg/Documents/Projects/warff/renv/library/macos/R-4.5/aarch64-apple-darwin24.4.0/farver’
Warning message:
In i.p(...) :
  installation of package ‘/var/folders/wh/wf4w1l_94qsdqz9_k3p2yl080000gq/T//RtmpoCbJ1E/file2a41742a018b/farver_2.1.2.9000.tar.gz’ had non-zero exit status

Session info:

R version 4.5.1 (2025-06-13)
Platform: aarch64-apple-darwin24.4.0
Running under: macOS Sequoia 15.6.1

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /opt/homebrew/Cellar/r/4.5.1/lib/R/lib/libRlapack.dylib;  LAPACK version 3.12.1

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: America/New_York
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.5.1 tools_4.5.1 

Makevars:

LLVM = /opt/homebrew/opt/llvm

CC  = $(LLVM)/bin/clang
CXX = $(LLVM)/bin/clang++
CXX11 = $(LLVM)/bin/clang++
CXX14 = $(LLVM)/bin/clang++
CXX17 = $(LLVM)/bin/clang++ -std=gnu++17

CFLAGS += -O3 -fPIC
CXXFLAGS += -O3 -fPIC -fopenmp
LDFLAGS += -L$(LLVM)/lib -Wl,-rpath,$(LLVM)/lib
CPPFLAGS += -I$(LLVM)/include
SHLIB_OPENMP_CFLAGS = -fopenmp
SHLIB_OPENMP_CXXFLAGS = -fopenmp
SHLIB_OPENMP_LDFLAGS = -L$(LLVM)/lib -lomp

Any thoughts? Or other info you need?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions