I AM in Europe. And neither Google nor Wikipedia sells medicine here (nor anything else, I think).
The UK is much better ... there is actually a medicine aisle in the supermarket. But on the continent, there are just tiny places, usually called Farmacia, and they have limited variety, packages with small quantities, and relatively high prices. Contrary to what you might expect, these are never in big-box stores or mega-supermarkets; these have departments called "parafarmacias" that sell beauty aids and weight loss potions but no actual medicines. In some countries, there might also be a small, locked cabinet with a few actual medicines like paracetamol (known in US as acetaminophen) but probably no other pain reliever ... why would you need more than one?
Ibuprofen IS available in farmacias, but may come in a box of, say, 16. We bought cough syrup in Italy and Spain for about €7.50 for a week's worth.
My point is that if your trip is short, bring what you need; if it's longer, do research on the ingredient you want as the brands are all different.