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입니다.
문제를 해결하도록 도와주세요.