We study the dispersion interaction between two ground-state two-level atoms near a cylindrical vacuum-clad optical waveguide. We focus on the case where the electric-dipole matrix-element vectors of the atoms are perpendicular to each other and to the interatomic axis. When these atoms are in free space, the dispersion interaction between them vanishes. In the presence of a waveguide aligned parallel to the interatomic axis, the energy of the dispersion interaction between the atoms may become nonzero and comparable to the average energy of the dispersion interaction between two atoms with arbitrarily oriented dipoles in free space. This waveguide-induced dispersion interaction is a consequence of the anisotropy of the medium around the atoms.