Skip to content

fail to install {ragg} in MacOS #115

Open
@avallecam

Description

@avallecam

Reinstalled webp:

brew info webp
==> webp: stable 1.3.2 (bottled), HEAD
Image format providing lossless and lossy compression for web images
https://developers.google.com/speed/webp/
/opt/homebrew/Cellar/webp/1.3.2 (63 files, 2.3MB) *
  Poured from bottle using the formulae.brew.sh API on 2024-01-23 at 18:25:21
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/w/webp.rb
License: BSD-3-Clause
==> Dependencies
Build: cmake ✘
Required: giflib ✔, jpeg-turbo ✘, libpng ✔, libtiff ✔
==> Options
--HEAD
	Install HEAD version
==> Analytics
install: 75,767 (30 days), 250,667 (90 days), 1,036,950 (365 days)
install-on-request: 18,342 (30 days), 69,549 (90 days), 336,029 (365 days)
build-error: 65 (30 days)

However, the {ragg} install still fails:

** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘ragg’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/Users/lshjl15/Documents/LSHTM_code/tutorials/renv/profiles/lesson-requirements/renv/library/R-4.2/aarch64-apple-darwin20/.renv/1/00LOCK-ragg/00new/ragg/libs/ragg.so':
  dlopen(/Users/lshjl15/Documents/LSHTM_code/tutorials/renv/profiles/lesson-requirements/renv/library/R-4.2/aarch64-apple-darwin20/.renv/1/00LOCK-ragg/00new/ragg/libs/ragg.so, 0x0006): symbol not found in flat namespace '_WebPConfigInitInternal'
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Users/lshjl15/Documents/LSHTM_code/tutorials/renv/profiles/lesson-requirements/renv/library/R-4.2/aarch64-apple-darwin20/.renv/1/ragg’
install of package 'ragg' failed [error code 1]
ℹ See `$stdout` and `$stderr` for standard output and error.

Originally posted by @joshwlambert in #104 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    early-taskPart of the Early Task Roadmaphelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions