In the paper, it is shown that the principle of virtual work considered an axiom of mechanics by Lagrange (1788) and Farkas (1906) results in a new general equilibrium system, assuming nonholonomic and rheonomous constraints. Then, the dual forms of the principle of virtual work are formulated in these cases, and some examples are discussed