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

Can't install via brew #514

Open
manfredipist opened this issue Jan 16, 2025 · 3 comments
Open

Can't install via brew #514

manfredipist opened this issue Jan 16, 2025 · 3 comments

Comments

@manfredipist
Copy link

manfredipist commented Jan 16, 2025

Hi, I can't install the tool anymore with homebrew

brew install vitobotta/tap/hetzner_k3s

==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Fetching dependencies for vitobotta/tap/hetzner_k3s: ca-certificates, openssl@3, libssh2, libevent, bdw-gc, libyaml, pcre and gmp
==> Fetching ca-certificates
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2024-
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/c41a485689e1507291617fb1f0e2322a087064960638fd050663df867bf53928--ca-certificates-2024-12-31.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/blobs/sha256:41
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/c139574154be31eaa168519750ddbae9b45eb437f842c40c23ecbe906fb86a10--ca-certificates--2024-12-31.all.bottle.tar.gz
==> Fetching openssl@3
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.4.0
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/a8a169d38329b14f967d497d0ea77eee6dc5444175093fc7b26026b357e81736--openssl@3-3.4.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/blobs/sha256:bf2e6c5c
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/e0ed8904d8d02d19f624ef76de4250142d8aeb1a04f2ede2c220fee8d15226d8--openssl@3--3.4.0.arm64_sequoia.bottle.tar.gz
==> Fetching libssh2
==> Downloading https://ghcr.io/v2/homebrew/core/libssh2/manifests/1.11.1
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/6d2495eb2b5f37f7931b23940ceb29db14a4742a49d1d8cce26964ad91a03f26--libssh2-1.11.1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/libssh2/blobs/sha256:4fd55e8973
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/3b8b00a0b637aae8362d1503037ccf214f80364f9bb72f96cd399fe6bb64d8fc--libssh2--1.11.1.arm64_sequoia.bottle.tar.gz
==> Fetching libevent
==> Downloading https://ghcr.io/v2/homebrew/core/libevent/manifests/2.1.12_1
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/68b113f9ab63db45f4e1860de522ce2ca4fa081eb3c0d5c7d6005a35c3cf8d06--libevent-2.1.12_1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/libevent/blobs/sha256:65fc7c61f
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/3a7bf9203ae9b3211905f3b0961c0c1139d8a43e463cb8a918bf38db4e7e4fe0--libevent--2.1.12_1.arm64_sequoia.bottle.tar.gz
==> Fetching bdw-gc
==> Downloading https://ghcr.io/v2/homebrew/core/bdw-gc/manifests/8.2.8
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/89bb7c10cfa3482949e74e3e7687110dada74da8f2f584bd385aa97c1cb30c96--bdw-gc-8.2.8.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/bdw-gc/blobs/sha256:58c2b5cf58c
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/1e02dfc16652c8cc3e1f9e6bfa889eb3430fdee25d2e024881712baa6ffed900--bdw-gc--8.2.8.arm64_sequoia.bottle.tar.gz
==> Fetching libyaml
==> Downloading https://ghcr.io/v2/homebrew/core/libyaml/manifests/0.2.5
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/5f6b0af1730aa1bc02f8021c90ed7ffe988eeba95eec83e6c828f77332ba6406--libyaml-0.2.5.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/libyaml/blobs/sha256:0ec9bf8082
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/714824fd2c3af06b40ceca40761539ad604f4fa3f8a5b4b29d4ad0fc10157851--libyaml--0.2.5.arm64_sequoia.bottle.tar.gz
==> Fetching pcre
==> Downloading https://ghcr.io/v2/homebrew/core/pcre/manifests/8.45
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/4a3bba0e8d1899c13ac3442d2c49df6c1999948bdc0943f2f179693257d82545--pcre-8.45.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/pcre/blobs/sha256:50b8e2100e02a
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/424e935e919342cc2bc9ab59fdf95e45cc756547d9fd4f8fcac0402cdef37040--pcre--8.45.arm64_sequoia.bottle.tar.gz
==> Fetching gmp
==> Downloading https://ghcr.io/v2/homebrew/core/gmp/manifests/6.3.0
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/70a72a71216843d66a953c06ff6337445ce9bc94fae9f0e301e2f59005274a8e--gmp-6.3.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/gmp/blobs/sha256:6683d73d6677d2
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/a0c4a56cc56ffac0cb3f0aa5deb1b3a614002dabf65a81e14d87129c89eb7bde--gmp--6.3.0.arm64_sequoia.bottle.tar.gz
==> Fetching vitobotta/tap/hetzner_k3s
==> Downloading https://github.com/vitobotta/hetzner-k3s/releases/download/v2.1.
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/8580673fa537f9f6e2227a95aae4fdf756d24e6a7bef9ac118dd1fdb2b9d0c60--hetzner-k3s-macos-arm64
==> Installing hetzner_k3s from vitobotta/tap
==> Installing dependencies for vitobotta/tap/hetzner_k3s: ca-certificates, openssl@3, libssh2, libevent, bdw-gc, libyaml, pcre and gmp
==> Installing vitobotta/tap/hetzner_k3s dependency: ca-certificates
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2024-
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/c41a485689e1507291617fb1f0e2322a087064960638fd050663df867bf53928--ca-certificates-2024-12-31.bottle_manifest.json
==> Pouring ca-certificates--2024-12-31.all.bottle.tar.gz
==> Regenerating CA certificate bundle from keychain, this may take a while...
🍺  /opt/homebrew/Cellar/ca-certificates/2024-12-31: 4 files, 233.9KB
==> Installing vitobotta/tap/hetzner_k3s dependency: openssl@3
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.4.0
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/a8a169d38329b14f967d497d0ea77eee6dc5444175093fc7b26026b357e81736--openssl@3-3.4.0.bottle_manifest.json
==> Pouring [email protected]_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/openssl@3/3.4.0: 7,236 files, 33.4MB
==> Installing vitobotta/tap/hetzner_k3s dependency: libssh2
==> Downloading https://ghcr.io/v2/homebrew/core/libssh2/manifests/1.11.1
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/6d2495eb2b5f37f7931b23940ceb29db14a4742a49d1d8cce26964ad91a03f26--libssh2-1.11.1.bottle_manifest.json
==> Pouring libssh2--1.11.1.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libssh2/1.11.1: 201 files, 1.2MB
==> Installing vitobotta/tap/hetzner_k3s dependency: libevent
==> Downloading https://ghcr.io/v2/homebrew/core/libevent/manifests/2.1.12_1
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/68b113f9ab63db45f4e1860de522ce2ca4fa081eb3c0d5c7d6005a35c3cf8d06--libevent-2.1.12_1.bottle_manifest.json
==> Pouring libevent--2.1.12_1.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libevent/2.1.12_1: 58 files, 2.2MB
==> Installing vitobotta/tap/hetzner_k3s dependency: bdw-gc
==> Downloading https://ghcr.io/v2/homebrew/core/bdw-gc/manifests/8.2.8
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/89bb7c10cfa3482949e74e3e7687110dada74da8f2f584bd385aa97c1cb30c96--bdw-gc-8.2.8.bottle_manifest.json
==> Pouring bdw-gc--8.2.8.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/bdw-gc/8.2.8: 82 files, 1.8MB
==> Installing vitobotta/tap/hetzner_k3s dependency: libyaml
==> Downloading https://ghcr.io/v2/homebrew/core/libyaml/manifests/0.2.5
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/5f6b0af1730aa1bc02f8021c90ed7ffe988eeba95eec83e6c828f77332ba6406--libyaml-0.2.5.bottle_manifest.json
==> Pouring libyaml--0.2.5.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libyaml/0.2.5: 11 files, 354.5KB
==> Installing vitobotta/tap/hetzner_k3s dependency: pcre
==> Downloading https://ghcr.io/v2/homebrew/core/pcre/manifests/8.45
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/4a3bba0e8d1899c13ac3442d2c49df6c1999948bdc0943f2f179693257d82545--pcre-8.45.bottle_manifest.json
==> Pouring pcre--8.45.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/pcre/8.45: 205 files, 4.7MB
==> Installing vitobotta/tap/hetzner_k3s dependency: gmp
==> Downloading https://ghcr.io/v2/homebrew/core/gmp/manifests/6.3.0
Already downloaded: /Users/manfredi/Library/Caches/Homebrew/downloads/70a72a71216843d66a953c06ff6337445ce9bc94fae9f0e301e2f59005274a8e--gmp-6.3.0.bottle_manifest.json
==> Pouring gmp--6.3.0.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/gmp/6.3.0: 22 files, 3.3MB
==> Installing vitobotta/tap/hetzner_k3s
🍺  /opt/homebrew/Cellar/hetzner_k3s/2.1.0: 4 files, 3.6MB, built in 0 seconds
==> Running `brew cleanup hetzner_k3s`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> No outdated dependents to upgrade!
==> Checking for dependents of upgraded formulae...
Disable this behaviour by setting HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Reinstalling 1 dependent with broken linkage from source:
vitobotta/tap/hetzner_k3s

Trying to run it, this is the error I encounter..

dyld[30618]: Library not loaded: /opt/homebrew/opt/pcre2/lib/libpcre2-8.0.dylib
  Referenced from: <96B82A4E-CC25-38BD-A2FD-2281845069E3> /opt/homebrew/Cellar/hetzner_k3s/2.1.0.reinstall/bin/hetzner-k3s
  Reason: tried: '/opt/homebrew/opt/pcre2/lib/libpcre2-8.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/pcre2/lib/libpcre2-8.0.dylib' (no such file), '/opt/homebrew/opt/pcre2/lib/libpcre2-8.0.dylib' (no such file)
zsh: abort      ./hetzner-k3s
@vitobotta
Copy link
Owner

Try brew doctor to check your Homebrew installation. It's unlikely a problem with my tap because I installed it yesterday and it was fine.

@manfredipist
Copy link
Author

So actually investing a little bit, its seems I was missing pcre2 library, so I just installed it with brew

brew install pcre2

and then reinstalled hetzner_k3s and it started worked fine, I guess it's a missing dep you forgot?

@manfredipist manfredipist changed the title Can't install view brew Can't install via brew Jan 16, 2025
@vitobotta
Copy link
Owner

So actually investing a little bit, its seems I was missing pcre2 library, so I just installed it with brew

brew install pcre2

and then reinstalled hetzner_k3s and it started worked fine, I guess it's a missing dep you forgot?

The tap specified depends_on "pcre". Perhaps it needs the updated library now so I have updated it, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants