These days I am talking to a lot of midlife adults who are looking for something else from their work. They have given so much of their lives to a company or an organization and are not realizing the return they had hoped for. They are looking for something else, though sometimes they cannot put their finger on it.
The first hint is this: there is really no such thing as an ideal job, as most people define it. Every job has frustrations, hassles, difficult people, and certain stresses.
The second hint is this: your work should revolve around two or three things you are really good at. Everyone has certain skills, things that seem to come easily to them. The most important career goal anyone can have is to find what your natural talents and inclinations are, and then figure out how they can be applied in the workplace.
The third hint is this: put your talents and skills to use where they are appreciated. I recently heard a lecture on Leonardo DaVinci and discovered that he had moved hundreds of miles to advance his career. He was living in a place where those in authority did not see the value in what he was doing. Consider that this man is one of the most brilliant in history!
It may take some time to get to the real ideal job talked about above. The one where most of your time is spent in the two or three things you are the best at. Then, you have to find a place where those things you are good at are appreciated. This make take years, more school, or working to advance where you are. The important thing is to keep moving to this new ideal, for this is where truly rewarding work with meaning can be found.