CBMR gubax fails to run on Red Hat Enterprise Linux 9

When attempting to install or run CBMR 9.4 or higher on RHEL 9 you may see errors relating to the “ncurses” library. In order to workaround this for install, please run the following commands:

mkdir ~/.lib64
cd ~/.lib64
ln -s /usr/lib64/libncurses.so.6 libncurses.so.5
ln -s /usr/lib64/libmenu.so.6 libmenu.so.5
ln -s /usr/lib64/libform.so.6 libform.so.5
ln -s /usr/lib64/libpanel.so.6 libpanel.so.5
ln -s /usr/lib64/libtinfo.so.6 libtinfo.so.5
export LD_LIBRARY_PATH=$HOME/.lib64 (if reboot or new shell, need to run this again)

This will then allow you to install CBMR (you may also need to use the --nodeps flag). The CBMR gubax command also requires these commands to be run, but if the symlinks have been created already then it’s sufficient to just update the LD_LIBRARY_PATH to point to the symlinked libraries. For ease of use, these can be set in your .bashrc file or a system-wide level.