【问题标题】:Strawberry Perl 5.12 as PostgreSQL 9.0's plperl on win32?草莓 Perl 5.12 作为 PostgreSQL 9.0 在 win32 上的 plperl?
【发布时间】:2010-11-09 00:40:36
【问题描述】:

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

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

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"

【问题讨论】:

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


    【解决方案1】:

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

    那个,或者 Strawberry Perl 5.10 而不是 5.12。

    【讨论】:

    • 来自pginstaller page (26.11.11):“PL/perl 需要安装 ActiveState Perl 5.8(PostgreSQL 8.4 及更高版本为 5.10)。” - 很高兴知道它似乎也适用于草莓。
    猜你喜欢
    • 1970-01-01
    • 2014-11-20
    • 2021-11-25
    • 2015-11-16
    • 2011-12-14
    • 2012-05-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多