If "With ORB_SLAM3 = YES (License: GPLv3)" is shown and it is built successfully, the "rtabmap" you are launching is not the right one. Do "which rtabmap". I suspect that you have the binaries installed, just remove them to avoid confusion.
sudo apt remove ros-$ROS_DISTRO-rtabmap