运行 tsung_stats 来自 tsung 并得到 Symbol not found: _Perl_xs_handshake 错误
Running tsung_stats from tsung and getting Symbol not found: _Perl_xs_handshake error
我正在尝试使用 tsung_stats
生成输出,但是每当我 运行 命令时:
/usr/local/Cellar/tsung/1.7.0/lib/tsung/bin/tsung_stats.pl --stats /Users/Chris/.tsung/log/20181031-2312/tsung.log
发生以下情况:
warn, last interval (7) not equal to the first, use the first one (10)
No data for Bosh
No data for Match
No data for Event
No data for Async
No data for Errors
dyld: lazy symbol binding failed: Symbol not found: _Perl_xs_handshake
Referenced from:
/usr/local/Cellar/perl/5.28.0/lib/perl5/site_perl/5.28.0/darwin-thread-multi-2level/auto/Template/Stash/XS/XS.bundle
Expected in: flat namespace
dyld: Symbol not found: _Perl_xs_handshake Referenced from:
/usr/local/Cellar/perl/5.28.0/lib/perl5/site_perl/5.28.0/darwin-thread-multi-2level/auto/Template/Stash/XS/XS.bundle
Expected in: flat namespace
Abort trap: 6
起初它给我这个错误:
warn, last interval (7) not equal to the first, use the first one (10)
No data for Bosh
No data for Match
No data for Event
No data for Async
No data for Errors
Can't locate Template.pm in @INC (you may need to install the Template
module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level
/Library/Perl/5.18
/Network/Library/Perl/5.18/darwin-thread-multi-2level
/Network/Library/Perl/5.18
/Library/Perl/Updates/5.18.2/darwin-thread-multi-2level
/Library/Perl/Updates/5.18.2
/System/Library/Perl/5.18/darwin-thread-multi-2level
/System/Library/Perl/5.18
/System/Library/Perl/Extras/5.18/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.18 .) at
/usr/local/Cellar/tsung/1.7.0/lib/tsung/bin/tsung_stats.pl line 571.
网上查了一下,我先运行sudo cpan Template
然后设置环境变量PERL5LIB
为Perl的路径(即/usr/local/Cellar/perl/5.28.0/lib/perl5/site_perl/5.28.0
)。
我卡住了,网上好像没有解决办法,接下来怎么办?
我遇到了类似的问题。而不是 sudo cpan Template
、
执行以下
sudo perl -MCPAN -e'shell'
然后
install Template
和
quit
对我有用
我正在尝试使用 tsung_stats
生成输出,但是每当我 运行 命令时:
/usr/local/Cellar/tsung/1.7.0/lib/tsung/bin/tsung_stats.pl --stats /Users/Chris/.tsung/log/20181031-2312/tsung.log
发生以下情况:
warn, last interval (7) not equal to the first, use the first one (10)
No data for Bosh
No data for Match
No data for Event
No data for Async
No data for Errors
dyld: lazy symbol binding failed: Symbol not found: _Perl_xs_handshake Referenced from: /usr/local/Cellar/perl/5.28.0/lib/perl5/site_perl/5.28.0/darwin-thread-multi-2level/auto/Template/Stash/XS/XS.bundle Expected in: flat namespace
dyld: Symbol not found: _Perl_xs_handshake Referenced from:
/usr/local/Cellar/perl/5.28.0/lib/perl5/site_perl/5.28.0/darwin-thread-multi-2level/auto/Template/Stash/XS/XS.bundle Expected in: flat namespace
Abort trap: 6
起初它给我这个错误:
warn, last interval (7) not equal to the first, use the first one (10)
No data for Bosh
No data for Match
No data for Event
No data for Async
No data for Errors
Can't locate Template.pm in @INC (you may need to install the Template module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2/darwin-thread-multi-2level /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /usr/local/Cellar/tsung/1.7.0/lib/tsung/bin/tsung_stats.pl line 571.
网上查了一下,我先运行sudo cpan Template
然后设置环境变量PERL5LIB
为Perl的路径(即/usr/local/Cellar/perl/5.28.0/lib/perl5/site_perl/5.28.0
)。
我卡住了,网上好像没有解决办法,接下来怎么办?
我遇到了类似的问题。而不是 sudo cpan Template
、
执行以下
sudo perl -MCPAN -e'shell'
然后
install Template
和
quit
对我有用