无法加载 timescaledb-1.6.0.dll - 不是有效的 Win32 应用程序



我在尝试使用 PostgreSQL v10.11 加载 timescaledb 时遇到了一个问题......执行以下命令时:

CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;

我遇到以下错误:

ERROR: could not load library "<postgresfolder>/lib/timescaledb-1.6.0.dll": %1 is not a valid Win32 application.

  • postgresfolder= 我的 postgres 安装位置的路径。

我也在PostgreSQL v11.6中尝试过这个,结果是一样的。我不认为这是一个依赖问题(Visual Studio C++ Redist.2015(,因为我满足@https://docs.timescale.com/latest/getting-started/installation/windows/installation-windows 列出的所有先决条件。

任何帮助将不胜感激!

(编辑(:安装正在Windows 10,64位上执行。

由于ssleay32和libeay32 dlls,我遇到了这个问题。从 https://get.enterprisedb.com/postgresql/postgresql-11.4-1-windows-x64-binaries.zip 获取二进制文件,并将它们从postgresql-11.4-1-windows-x64-binaries/bin复制到/bin文件夹中。如果它们不存在,仍然复制并保留它们。

此外,如果您想坚持使用 11.4,看起来 timescaledb 仅适用于 11.4 版本。

相关内容

最新更新