I’ve had another issue with Mojo on my Archcraft Linux distro where Mojo couldn’t find the libedit.so.2
shared library. I found a way to install it using this link to Sharktheone’s Github Repo ‘arch-mojo’. Then, using the command
# extract the XZ archive from the .deb file
ar -vx libedit.deb
# extract the files from the .xz archive
tar -xf data.tar.xz
# copy libedit.so.0.0.75 to one of the locations below:
# /usr/lib/ <-(recommended)
# /usr/local/lib/
# /usr/.local/lib/
# ~/.modular/envs/max/lib/ (for local venv)
# venv/.magic/envs/default/lib/ (for local venv)
sudo cp -r ./libedit.so.0.0.75 /usr/lib
After doing this, Mojo should work globally (outside of the virtual environment) and locally (inside the virtual environment).