There should be a cutscene conversation as you approach the spider, where you get various options on where to tickle it. If you do not first remove your odour (check the alchemist's house), the spider will be hostile and attack you.
Welcome to the forum. <img src="/ubbthreads/images/graemlins/wave.gif" alt="" />