您如何确定哪个 Perl 模块导致了“未定义符号:Perl_Tstack_sp_ptr?"?

人气:527 发布:2022-10-16 标签: perl shared-objects

问题描述

我正在尝试运行 Perl 脚本,但它正在返回:

I'm trying to run a Perl script, but it is returning:

/usr/bin/perl: 符号查找错误:/usr/local/groundwork/perl/lib/5.8.8/x86_64-linux-thread-multi/auto/IO/IO.so:未定义符号:Perl_Tstack_sp_ptr

/usr/bin/perl: symbol lookup error: /usr/local/groundwork/perl/lib/5.8.8/x86_64-linux-thread-multi/auto/IO/IO.so: undefined symbol: Perl_Tstack_sp_ptr

有什么办法可以确定是哪个 Perl 模块导致了这种情况?

Is there any way to determine what Perl module is causing this?

推荐答案

IO.so 是 IO.此发行版的模块也是 perl 发行版的一部分(即它们是双活的).

IO.so is the binary component of IO. The modules of this distribution are also part of the perl distribution (i.e. they are dual-lived).

当使用使用一个 Perl 版本编译的二进制文件被不同版本的 Perl 使用时,通常会发生这种类型的错误.

This type of error usually occurs when using a binary compiled using one version of Perl is used by a different version of Perl.

645