danhper / eclair

A Solidity interpreter
https://eclair.so
MIT License
48 stars 1 forks source link

Library not loaded: /opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib #19

Closed marchev closed 2 days ago

marchev commented 2 weeks ago

After a clean install via

$ curl -L https://install.eclair.so | bash

I got the following error when trying to run eclair:

$ eclair
dyld[67819]: Library not loaded: /opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib
  Referenced from: <59146AE6-573D-3025-ABC0-51BB055E1673> /Users/martinmarchev/.foundry/bin/eclair
  Reason: tried: '/opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib' (no such file), '/opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib' (no such file)
zsh: abort      eclair

I found a workaround here which solved the issue. But possible it could be fixed to work out-of-the-box.

--

OS: macOS 14.6.1 Platform: Apple Silicon

danhper commented 2 weeks ago

Hey! Thanks for the report! I'll add this to the docs!

danhper commented 2 weeks ago

Added to the docs! https://github.com/danhper/eclair/commit/d03286877fc0f18260907ab75ec69073346eb2ab I'll also add this to the installer!