1) The ones who wished to learn never lacked the means; if you wanted to learn, you had the means. 'Wanted' is used in its meaning of "lacked" here. 2) Here, 'means' is "money" or "financial resources".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.