shellrhythm-cli icon indicating copy to clipboard operation
shellrhythm-cli copied to clipboard

[pybass3] Error when installing on M1 Mac

Open PrajwalVandana opened this issue 2 years ago • 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?

PrajwalVandana avatar Feb 28 '23 06:02 PrajwalVandana

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?

HastagGuigui avatar Feb 28 '23 06:02 HastagGuigui

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?

PrajwalVandana avatar Feb 28 '23 16:02 PrajwalVandana

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

HastagGuigui avatar Feb 28 '23 17:02 HastagGuigui