noun
pharmacy; drugstore; chemist's shop
Refers to the shop where medicines are sold. In modern Japanese, 薬局 (やっきょく) is more common for a pharmacy, while 薬屋 is a more casual, traditional term.
風邪薬を買いに近所の薬屋へ行った。
I went to the local pharmacy to buy cold medicine.
noun
Refers to the person who runs or works in a pharmacy. Often used in a traditional or informal context; 薬剤師 (やくざいし) is the formal term for a licensed pharmacist.
あの薬屋の主人はとても親切だ。
The owner of that pharmacy is very kind.