The generalized eigenvalue problem for a symmetric definite matrix pencil obtained from finite-element modeling of electroelastic materials is solved numerically by the Lanczos algorithm. The mass matrix is singular in the considered problem, and therefore the process proceeds with the semi-inner product defined by this matrix. The shift-and-invert Lanczos algorithm is used to find multiple eigenvalues closest to some shift and the corresponding eigenvectors. The results of the numerical experiments are presented.