shellrhythm/shellrhythm-cli

[pybass3] Error when installing on M1 Mac

PrajwalVandana opened this issue · 3 comments

I get the following error when attempting to install on my Mac (2020 Pro M1):

OSError: dlopen(./libbass.so, 0x000A): tried: '/opt/homebrew/Caskroom/miniforge/base/lib/./libbass.so' (no such file), '/opt/homebrew/Caskroom/miniforge/base/lib/./libbass.so' (no such file), '/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/lib-dynload/../.././libbass.so' (no such file), '/opt/homebrew/Caskroom/miniforge/base/lib/./libbass.so' (no such file), '/opt/homebrew/Caskroom/miniforge/base/bin/../lib/./libbass.so' (no such file), './libbass.so' (no such file), '/Users/sysadmin/shellrhythm/libbass.so' (no such file)

Any idea how to fix it?

This is something related to libbass.so (the BASS library) not being found in any of the given folders in the error, however I have never tried installing shellrhythm on Mac yet (due to not owning a Mac myself)
I guess you could try following ./docs/PYBASS3_LINUX.md, and if you did try copying that libbass.so to any of the folders?

Got it to work! I had to go into the PyBass3 source code and change it to try to load the .dylib file instead of the .so file (downloaded the dynamic libs from the un4seen site).

Maybe I should open an issue or PR on the PyBass3 repo?

Probably, I should also open a PR for the Linux part