What is the libertarian view to the problem of job replacement
So yesterday I was debating with a friend about this issue, in my country importing food like rice or other agricultural good migth be cheaper than producing it here. However, since my country is very dependant on the agricultural sector, oppening ourselves to these imports will make lots of people loose their jobs and so presummably ruin the economy.
I think this is a fairly common objection against libertarian views of things, as I understand people have been trying to protect jobs from naturally going away sice the Industrial revolution and the consequences of allowing these jobs to go are never so bad.
So my question is, what would a libertarian say/do to those people who will loose their jobs because of more efficent/cheap ways to do things? What has happened to those kinds of populations in the past? I.e workers displaced by the industrial revolution, milkmen, ice cubers, etc. Thanks
Article from r/Libertarian: For a Free Society