inveniosoftware / invenio

Invenio digital library framework
https://invenio.readthedocs.io
MIT License
626 stars 292 forks source link

"dyld: Library not loaded" when installing on OS X #4049

Closed pgorla closed 4 years ago

pgorla commented 4 years ago

Package version (if known): The latest from the download page.

Python 3.7.8 Flask 1.1.2 Werkzeug 0.16.1 OS X Catalina, 0.15.6 (19G73)

Describe the bug

Hello, I've run into an installation error when trying to install invenio locally for testing. I am seeing this error.

dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.66.dylib
Referenced from: /usr/local/bin/node
Reason: image not found

Steps to Reproduce

  1. Run ./scripts/bootstrap, specifically it's this step that is failing: pipenv run invenio webpack buildall
  2. See error

Additional context

I've been looking online and this looks like a known issue with OS X, but so far I have not found a workaround.

pgorla commented 4 years ago

Actually, I found a fix! My version of node was out of date and I didn't realize it.

brew upgrade
brew cleanup