mobile-shell / mobile-shell/mosh

Mac OS: Library not loaded libprotobuf.23.4.0.dylib

Open
#1,306 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
14.5k
Forks
865
PR merge metrics
No merged PRs in 30d

Description

I'm on a latest (as of now) Mac OS Sonoma 14.2.1 and recently ran brew update and brew upgrade.

Since then I cant start mosh-server with missing libprotobuf

  Referenced from: <A4ADD9D7-6104-317D-9439-1B7B22B6E105> /usr/local/bin/mosh-server
  Reason: tried: '/opt/homebrew/opt/protobuf/lib/libprotobuf.23.4.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/protobuf/lib/libprotobuf.23.4.0.dylib' (no such file), '/opt/homebrew/opt/protobuf/lib/libprotobuf.23.4.0.dylib' (no such file), '/usr/local/lib/libprotobuf.23.4.0.dylib' (no such file), '/usr/lib/libprotobuf.23.4.0.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/protobuf/25.2/lib/libprotobuf.23.4.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/protobuf/25.2/lib/libprotobuf.23.4.0.dylib' (no such file), '/opt/homebrew/Cellar/protobuf/25.2/lib/libprotobuf.23.4.0.dylib' (no such file), '/usr/local/lib/libprotobuf.23.4.0.dylib' (no such file), '/usr/lib/libprotobuf.23.4.0.dylib' (no such file, not in dyld cache)
Could not start mosh-server.

mosh and mosh-server has been installed through brew. I tried reinstalling protobuf and then mosh-server, but that didnt do much.

I can't find protobuf@23 on homebrew anymore and latest protobuf points to 25.2.

Any ideas how to get mosh-server working again?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Homebrew installation and the mosh-server launch on macOS Sonoma, then inspect the reported protobuf library dependency and the mosh-server binary path. Use the dyld error and the protobuf 25.2 upgrade as the initial evidence; done means mosh-server starts successfully after the supported dependency relationship is restored.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, macos
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.