matter-labs / foundry-zksync

Fork of Foundry tailored for zkSync environment
Apache License 2.0
299 stars 130 forks source link

Installation verification failed #537

Closed fedealconada closed 2 months ago

fedealconada commented 2 months ago

Component

Forge

Have you ensured that all of these are up to date?

What version of Foundry are you on?

No response

What command(s) is the bug in?

./install-foundry-zksync

Operating System

macOS (Apple Silicon)

Describe the bug

./install-foundry-zksync

########################################################################################################################################################################################################### 100.0%
foundryup-zksync: downloading manpages
########################################################################################################################################################################################################### 100.0%
dyld[90353]: Library not loaded: /opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib
  Referenced from: <A3069FC1-B57F-3D41-BF6A-846B27D1E1B9> /Users/someuser/.foundry/bin/forge (built for macOS 14.5 which is newer than running OS)
  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)
foundryup-zksync: command failed: /Users/someuser/.foundry/bin/forge --version
foundryup-zksync: installed -
dyld[90356]: Library not loaded: /opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib
  Referenced from: <F9F77076-816D-3939-B76D-9A7C0E786D92> /Users/someuser/.foundry/bin/cast (built for macOS 14.5 which is newer than running OS)
  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)
foundryup-zksync: command failed: /Users/someuser/.foundry/bin/cast --version
foundryup-zksync: installed -
foundryup-zksync: done!
Verifying installation...
dyld[90358]: Library not loaded: /opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib
  Referenced from: <A3069FC1-B57F-3D41-BF6A-846B27D1E1B9> /Users/someuser/.foundry/bin/forge (built for macOS 14.5 which is newer than running OS)
  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)
Installation verification failed. Forge is not properly installed.
elfedy commented 2 months ago

@fedealconada seems a duplicate of: https://github.com/matter-labs/foundry-zksync/issues/479. Please try the soludtions recomended there (start by trying to install libusb with brew install libusb).

fedealconada commented 2 months ago

my bad, didn't see it, ty!