![我安装perl模块lucene时出现一些错误!](https://linux22.com/image/38598/%E6%88%91%E5%AE%89%E8%A3%85perl%E6%A8%A1%E5%9D%97lucene%E6%97%B6%E5%87%BA%E7%8E%B0%E4%B8%80%E4%BA%9B%E9%94%99%E8%AF%AF%EF%BC%81.png)
我在安装perl模块lucene时出现了一些错误:
[xlwang@localhost Lucene-0.18]$ make test
Running Mkbootstrap for Lucene ()
chmod 644 Lucene.bs
PERL_DL_NONLAZY=1 /home/xlwang/local/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t .. 1/1
# Failed test 'use Lucene;'
# at t/00-load.t line 6.
# Tried to use 'Lucene'.
# Error: Can't load '/home/xlwang/Lucene-0.18/blib/arch/auto/Lucene/Lucene.so' for module Lucene: /usr/lib/../lib64/libclucene.so.0: undefined symbol: pthread_mutexattr_settype at /home/xlwang/local/lib/perl5/5.20.0/x86_64-linux/DynaLoader.pm line 193.
# at t/00-load.t line 6.
# Compilation failed in require at t/00-load.t line 6.
# BEGIN failed--compilation aborted at t/00-load.t line 6.
# Testing Lucene 0.18, Perl 5.020000, /home/xlwang/local/bin/perl
# Looks like you failed 1 test of 1.
t/00-load.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Test Summary Report
-------------------
t/00-load.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=1, Tests=1, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.08 cusr 0.03 csys = 0.16 CPU)
Result: FAIL
Failed 1/1 test programs. 1/1 subtests failed.
make: *** [test_dynamic] error 1
我的操作系统是Redhat 6.4,Perl版本是5.20。
请帮我解决它。