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

macOS Ventura: Library not loaded: /usr/local/opt/libarchive/lib/libarchive.13.dylib #81

Open
mjbright opened this issue Dec 21, 2022 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@mjbright
Copy link

Describe the bug

I downloaded v0.3.11/huber-darwin-amd64 to my mac running macOS Ventura (13.0.1 ).

Any attempt to use huber complains of a missing library, e..g

./huber search
dyld[32923]: Library not loaded: /usr/local/opt/libarchive/lib/libarchive.13.dylib
  Referenced from: <6F21C9F1-9889-3C0D-8C68-DF6942A81F44> /Users/mjb/Downloads/huber
  Reason: tried: '/usr/local/opt/libarchive/lib/libarchive.13.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/libarchive/lib/libarchive.13.dylib' (no such file), '/usr/local/opt/libarchive/lib/libarchive.13.dylib' (no such file), '/usr/local/lib/libarchive.13.dylib' (no such file), '/usr/lib/libarchive.13.dylib' (no such file, not in dyld cache)
Abort trap: 6

To Reproduce

Download https://github.com/innobead/huber/releases/download/v0.3.11/huber-darwin-amd64

chmod +x ./huber-darwin-amd64
./huber-darwin-amd64 search

Expected behavior

I expect to see the list of installable packages

Environment

  • OS version

    • Darwin air 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct 9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000 arm64
  • Huber version

    • v0.3.11

Additional context

I searched for similar dylib files under /usr and /System:
find /usr /System -iname 'libarchive*.dylib'

No files were found

@mjbright mjbright added the bug Something isn't working label Dec 21, 2022
@innobead innobead added this to the v0.3.12 milestone Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants