It sounds more like a spirit " problem " rather than a magic one.
If you explain the dream in detail would be best. Chains can represent that you're trapped on something inside your life. Be it work area, love area etc..
Being freed by a ghost can represent spiritual help. Friendly spirits that are helping you in that situation that you're trapped in.