草莓Perl 5.12作为PostgreSQL 9.0在win32上的plperl?

时间:2010-11-09 00:40:37

标签: perl postgresql strawberry-perl plperl perl5.12

有没有人对这个组合有好运?

到目前为止,我收到了消息:

ERROR:  could not load library "C:/Program Files/PostgreSQL/9.0/lib/plperl.dll":
The specified module could not be found.

...通过制作perl512.dll的副本并将其重命名为perl510.dll来消失。现在我在安装一些我需要的模块时出现问题,所以我不知道它是否因为这个而无法工作,或者因为我的PostgreSQL二进制文件是为Perl 5.10设计的,因为现在出现错误信息:

WARNING:  Use of uninitialized value $prolog in concatenation (.) or string at -e line 25.
CONTEXT:  compilation of PL/Perl function "my_function"
WARNING:  Use of uninitialized value $src in concatenation (.) or string at -e line 25.
CONTEXT:  compilation of PL/Perl function "my_function"


ERROR:  didn't get a CODE reference from compiling function "my_function"
CONTEXT:  compilation of PL/Perl function "my_function"

1 个答案:

答案 0 :(得分:0)

我认为需要重新编译。我尝试从我的函数中删除模块依赖项,只是使它成为一个简单的return语句,它仍然有相同的错误。

那,或者草莓Perl 5.10而不是5.12。