The nonlinear alternative of the Leray Schauder type and the Banach contraction principle are used to investigate the existence of solutions for second-order differential equations with integral boundary conditions. The compactness of solutions set is also investigated.