- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我刚刚从 Enterprise DB 安装了最新的 Postgres 二进制文件并尝试安装一些用户语言,但失败并出现以下错误:
postgres=# create language pltcl;
ERROR: could not load library "C:/Software/PostgreSQL/9.2/lib/pltcl.dll": The specified module could not be found.
postgres=# create language plperl;
ERROR: could not load library "C:/Software/PostgreSQL/9.2/lib/plperl.dll": %1 is not a valid Win32 application.
postgres=# select version();
PostgreSQL 9.2.4, compiled by Visual C++ build 1600, 64-bit
我已经确认在上述位置有 dll,所以我想知道 $libdir 是否需要有 M$ windows 反斜杠而不是 unix 正斜杠?但我真的不知道。
如果有任何关于如何修复的想法,我将不胜感激。我要尝试 32 位安装。谢谢!
谢谢!
最佳答案
Windows 引发错误“找不到指定的模块” 当它真正意味着“指定的模块或者,递归地,它需要加载的任何 DLL 找不到"
在这种情况下,您可能没有安装合适的 TCL 运行时。查看安装程序文档以查看它需要什么 TCL 版本。
%1 不是有效的 Win32 应用程序 很可能是因为您有 32 位 PostgreSQL 试图加载 64 位 perl DLL,反之亦然。系统环境中 PATH
中第一个的 Perl 需要与 PostgreSQL 具有相同的体系结构,即均为 32 位或均为 64 位。
在这两种情况下,使用 Dependency Walker (depends.exe
) 来自 http://dependencywalker.com/ .. 此工具将帮助您识别任何缺失或不匹配的库。
关于postgresql - Error creating PLTCL language on binary windows(7) 64位企业数据库安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17496299/
我刚刚从 Enterprise DB 安装了最新的 Postgres 二进制文件并尝试安装一些用户语言,但失败并出现以下错误: postgres=# create language pltcl; ER
我是一名优秀的程序员,十分优秀!