The dark matter problem : a historical perspective