homebrew-ceph-client icon indicating copy to clipboard operation
homebrew-ceph-client copied to clipboard

Dependency errors while trying to install

Open GeiserX opened this issue 1 year ago • 0 comments

Following the instructions, the brew install correctly executes, and there's no error shown.

However, it's not added to PATH and If I try to find the binary, and execute it, it's missing dependencies (?)

Locations of the bins:

~ ❯ find / -name ceph
/opt/homebrew/Cellar/ceph-client/17.2.5_1.reinstall/bin/ceph
/opt/homebrew/Cellar/ceph-client/17.2.5_1.reinstall/libexec/bin/ceph
/System/Volumes/Data/opt/homebrew/Cellar/ceph-client/17.2.5_1.reinstall/bin/ceph
/System/Volumes/Data/opt/homebrew/Cellar/ceph-client/17.2.5_1.reinstall/libexec/bin/ceph

I'm in MacOS 15, in an M2 Pro. If I execute any of the binaries I get this dependency error:

zsh: /opt/homebrew/Cellar/ceph-client/17.2.5_1.reinstall/libexec/bin/ceph: bad interpreter: /opt/homebrew/bin/python3.10: no such file or directory

If I proceed to install python 3.10 then this is the error I get:

Traceback (most recent call last):
  File "/opt/homebrew/Cellar/ceph-client/17.2.5_1.reinstall/libexec/bin/ceph", line 151, in <module>
    import rados
ModuleNotFoundError: No module named 'rados'

I try to install rados but:

~ ❯ python3.10 -m pip install rados
ERROR: Could not find a version that satisfies the requirement rados (from versions: none)
ERROR: No matching distribution found for rados

Shouldn't all these dependencies (python 3.10, modules) be handled by brew itself?

GeiserX avatar Sep 27 '24 13:09 GeiserX