Hello,
I would like to install Redis Stack 7.2 and have downloaded the zip file for macOS / arm64.
Filename: redis-stack-server-7.2.0-v6.monterey.arm64.zip
I don't want to use Homebrew. That is why the Homebrew folders are not present.
The start of redis-stack-server does not work.
According to my analysis, however, there is only one small problem, which I will describe below.
The start generates the following error message:
Library not loaded: /opt/homebrew/opt/openssl@3/lib/libssl.3.dylib
Library not loaded: /opt/homebrew/opt/openssl@3/lib/libcrypto.3.dylib
/usr/lib/libssl.3.dylib' (no such file, not in dyld cache)
...
The files are referenced here:
Referenced from: ... /opt/redis-stack-server-7.2.0/bin/redis-server
The problem is that when redis-stack-server is started, it searches for the files in the /opt/homebrew/opt/openssl@3/lib and /usr/lib directories, but neither file exists.
Where are the files?
I have installed MySQL under /opt/mysql-8.0.35 and /opt/mysql-8.0.35/lib contains both files, for example.
The two files in /opt/mysql-8.0.35/lib cannot be copied to /usr/lib, as System Integrity Protection is normally switched on and would have to be switched off.
However, we can avoid the error with a symlink:
ln -s /opt/mysql-8.0.35/lib /opt/homebrew/opt/openssl@3
This allows redis-stack-server or redis-server to find the desired files.
Summary:
MySQL or Python 3, for example, deliver the two files in a lib subdirectory.
Is it possible that Redis Stack is also delivered with a lib subdirectory and the two files?
redis-server will then have to search for the two files in this subdirectory as well.
Then everything would work perfectly, even without Homebrew.
Best regards,
Christian Neumann