I've found even a good amount of people at that age that were career switching(to development) and haven't had big issues entering the job market.
But of course, you have to be flexible. Move elsewhere, or where the jobs are. Your white hair doesn't matter as much as your attitude. If you feel entitled for good job positions just for the fact you wrote a library, I don't believe this can be positive. It isn't about your age. How long have you been looking for a job? Which city? Are you easy going?
I've moved to another country and city for a better job market and I'm willing to do over and over again. Can't make big commitments to where I live, me and my wife move, find new jobs and learn new languages and culture, that's just life. We can't buy a property and never feel at home really, but it isn't a hard life, to be honest.
Of course, we don't ever expect to make these american salaries, but we do have jobs. In America, it makes me think that a lot of management and business typey people who make decisions about hiring are very individualist folks that believe that one great person that works like a slave is better than a few average well-lived people, which is completely wrong.