Your need to:
- Attach the null space if it's not empty, and make sure your RHS is consistent.
- Attach the near nullspace if you're using smoothed aggregation AMG. For elasticity in 3D, the near nullspace contains the 6 rigid body modes.
You might have some trouble solver a singular problem with AMG on the coarse level.
Best to use the dev version for your problem.