I am new to GIS. I want to install pgRouting on my system (win-xp 32-bit). I am trying to run routing_core.sql file and got the following error: ERROR: incompatible library "C:/Program Files/PostgreSQL/9.1/lib/librouting.dll": version mismatch DETAIL: Server is version 9.1, library is version 8.4. What should I do for proper installing of pgRouting ? Thanks for your suggestion/comments.
Not sure about the situation for 9.1, but here is a recent pledgebank thread about pgRouting for Win Postgres 9.2+ http://www.pledgebank.com/pgRoutingWindows.
The safest bet right now is to get Postgres 8.4.
Take a look at How to install osm2pgrouting on Windows? - you can find instructions on how to get pgRouting with Postgres 9.1 working (actually provided there link has both x32/64 versions of pgRouting Windows binaries)