  In this paper we deal with infinite horizon optimal control problems. Basing
on weak variations in an extremal problem in weighted function spaces we prove
necessary conditions in form of the adjoint equation and a variational
inequality. The obtained optimality conditions imply several transversality
conditions and the validity of Mangasarian type sufficiency conditions. Arising
difficulties in the presence of state constraints are discussed.
