- Install shared library as libXCurses.so.2, then symlink to libXCurses.so (not the other way around).