One trick with removing a component on a PCB is to re-solder it first. During manufacture the flux will have been washed off and so when again applying a soldering iron the old solder is reluctant to flow. Re-soldering applies new flux.
These days applying a liquid or paste flux is equally effective.
When cleaning up component holes on PCBs a de-soldering braid is useful. This braid is loaded with flux but in my experience it works better if you add a bit more.