arkhipov / temporal_tables

Temporal Tables PostgreSQL Extension
BSD 2-Clause "Simplified" License
937 stars 47 forks source link

Can't install on Windows 10 x64 - PG 9.5.3 #19

Closed pnomolos closed 8 years ago

pnomolos commented 8 years ago

Installed via the graphical installer here: http://www.bigsql.org/postgresql/installers.jsp

Followed the instructions in the README, when I run CREATE EXTENSION temporal_tables I get the following error back:

ERROR: could not load library "E:/Postgres/pg95/../pg95/lib/postgresql/temporal_tables.dll": The specified procedure could not be found.

mlt commented 8 years ago

Works for me with bigsql-9.5.3-4a-win64.zip and this build. Note that these guys use non-standard paths so pay attention when copying. In particular, on my machine

C:\dev\pg\bigsql\pg95\share\postgresql\extension\temporal_tables.control
C:\dev\pg\bigsql\pg95\lib\postgresql\temporal_tables.dll

Note that extra \postgresql.

pnomolos commented 8 years ago

Could I be missing a dependency from an SDK or something that you have installed? On Wed, Jun 22, 2016 at 4:44 PM Mikhail Titov notifications@github.com wrote:

Works for me with bigsql-9.5.3-4a-win64.zip and this build https://ci.appveyor.com/project/arkhipov/temporal-tables/build/job/t9uu4ohih1g77lp4/artifacts. Note that these guys use non-standard paths.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arkhipov/temporal_tables/issues/19#issuecomment-227910059, or mute the thread https://github.com/notifications/unsubscribe/AACNfw9cz2dcTNl7UPO_Gt9iC7ab8zUqks5qOcjcgaJpZM4I8MZ_ .

mlt commented 8 years ago

Could I be missing a dependency

This is highly possible. It looks like they build everything with MinGW while PG from Enterprise DB as well as this extension use MS VC++.

Dependency walker might help.

This extension is built using v120 platform for 9.5. Probably, https://www.microsoft.com/en-us/download/details.aspx?id=40784

pnomolos commented 8 years ago

@mlt Thanks, the build you linked worked fine while the one linked from the README doesn't.