What is the fibre content of the fabric? Is it a decor item or garment?
You could try goo gone or better still look for stain devil in the supermarket for removing glue! Is it a rubber glue - maybe it will wash off or peel off when wet or is it a spirit glue? That might be important ! Hope that helps a bit.....
I use Goo Gone to remove resin from clothing so it should remove glue.