innobead / huber

Huber 📦, Package Install Manager for GitHub repos
Apache License 2.0
189 stars 17 forks source link

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

Open mjbright opened 1 year ago

mjbright commented 1 year ago

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

Additional context

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

No files were found