Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'/opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib' (no such file) #742

Open
1 of 2 tasks
haraldh opened this issue Nov 25, 2024 · 1 comment
Open
1 of 2 tasks

'/opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib' (no such file) #742

haraldh opened this issue Nov 25, 2024 · 1 comment
Labels
bug 🐛 Something isn't working needs triage ♟️ Issue needs to be picked up or assigned

Comments

@haraldh
Copy link

haraldh commented Nov 25, 2024

Component

Foundryup

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

  • Foundry
  • Foundryup

What version of Foundry are you on?

No response

What command(s) is the bug in?

No response

Operating System

macOS (Apple Silicon)

Describe the bug

Run foundryup-zksync on mac silicon

❯ foundryup-zksync


.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx

 ╔═╗ ╔═╗ ╦ ╦ ╔╗╔ ╔╦╗ ╦═╗ ╦ ╦         Portable and modular toolkit
 ╠╣  ║ ║ ║ ║ ║║║  ║║ ╠╦╝ ╚╦╝    for Ethereum Application Development
 ╚   ╚═╝ ╚═╝ ╝╚╝ ═╩╝ ╩╚═  ╩                 written in Rust.

.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx

Fork of    : https://github.com/foundry-rs/
Repo       : https://github.com/matter-labs/foundry-zksync/
Book       : https://book.getfoundry.sh/

.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx

foundryup-zksync: installing foundry (version nightly, tag nightly)
foundryup-zksync: downloading latest forge, and cast
############################################################################################################################################################### 100.0%
foundryup-zksync: downloading manpages
############################################################################################################################################################### 100.0%
dyld[1551]: Library not loaded: /opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib
  Referenced from: <710CE797-3554-3895-80DC-C02C77B9EDC5> /Users/harald/.config/.foundry/bin/forge
  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/harald/.config/.foundry/bin/forge --version
foundryup-zksync: installed -
dyld[1557]: Library not loaded: /opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib
  Referenced from: <9C9702B5-ABEA-3F10-8F3C-11DE82179EE3> /Users/harald/.config/.foundry/bin/cast
  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/harald/.config/.foundry/bin/cast --version
foundryup-zksync: installed -
foundryup-zksync: done!

❯ /Users/harald/.config/.foundry/bin/cast --version
dyld[1583]: Library not loaded: /opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib
  Referenced from: <9C9702B5-ABEA-3F10-8F3C-11DE82179EE3> /Users/harald/.config/.foundry/bin/cast
  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)
fish: Job 1, '/Users/harald/.config/.foundry/…' terminated by signal SIGABRT (Abort)
@haraldh haraldh added bug 🐛 Something isn't working needs triage ♟️ Issue needs to be picked up or assigned labels Nov 25, 2024
@haraldh
Copy link
Author

haraldh commented Nov 25, 2024

brew install libusb helped... after installing brew

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working needs triage ♟️ Issue needs to be picked up or assigned
Projects
None yet
Development

No branches or pull requests

1 participant