Please reply to the list, not to me personally.
If you run lammps -h, you will get a list of all fix, compute, pair, etc. styles that LAMMPS was compiled with. If rigid is not listed under the “Fix styles” section, then you need to recompile, making sure to include the RIGID package. You can do that by following the instructions at