Ticket #121 (closed bug report: fixed)
librouting_tsp.dll: missing magic block
Reported by: | the_nerdling | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | Version 1.1 |
Component: | TSP | Version: | 1.02 |
Keywords: | PG_MODULE_MAGIC | Cc: |
Description
Hi
I am trying to run the TSP function. I'm running the postgres 8.2 on windows. I've downloaded the 'pgRouting-1.02_pg-8.2.9.zip' windows binaries.
When creating the routing functions in postgres, the 'routing_core.sql', 'routing_core_wrappers.sql', 'routing_dd.sql', 'routing_dd_wrappers.sql' and 'routing_tsp_wrappers.sql' SQL scripts all run OK, and associated functions are created.
But when I run the 'routing_tsp.sql' script, I get the error,
ERROR: incompatible library "C:/Program Files/PostgreSQL/8.2/lib/librouting_tsp.dll": missing magic block SQL state: XX000 Hint: Extension libraries are required to use the PG_MODULE_MAGIC macro.
Any ideas how to fix? Is this a problem with the librouting_tsp.dll build (all other routing functions seem to work OK)?
Many thanks David