Skip Menu |

This queue is for tickets about the Lucene CPAN distribution.

Report information
The Basics
Id: 64769
Status: new
Priority: 0/
Queue: Lucene

People
Owner: Nobody in particular
Requestors: n.oeppert [...] master-productions.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Lucene on Centos / No library found for -lclucene
Date: Fri, 14 Jan 2011 11:42:26 +0100
To: bug-Lucene [...] rt.cpan.org
From: Niko Oeppert <n.oeppert [...] master-productions.com>
Hi, I am trying to install Lucene-0.18 with CLucene on a Centos5 server. I had several different approaches yum install CLucene (there I have no config file to point to and no idea for a workaround) download CLucene from sourceforge git clone CLucene CLucene lookes like it is up and running. Linux version 2.6.9-023stab052.4-smp (root@rhel4-64) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) Linux xxx.xxx.xxx 2.6.9-023stab052.4-smp #1 SMP Tue May 11 19:21:39 MSD 2010 x86_64 x86_64 x86_64 GNU/Linux I had to add '/usr/local/lib' to Makefile.PL to the linux pathlist. $ perl Makefile.PL Using clucene config file /usr/lib/CLucene/clucene-config.h to build Makefile Building using clucene-core 0.9.21b Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lclucene Writing Makefile for Lucene $ make cp lib/Lucene.pm blib/lib/Lucene.pm /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Lucene.xs > Lucene.xsc && mv Lucene.xsc Lucene.c Please specify prototyping behavior for Lucene.xs (see perlxs manual) g++ -c -I/usr/lib -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -DCLUCENE_0_9_21 Lucene.c cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++ Running Mkbootstrap for Lucene () chmod 644 Lucene.bs rm -f blib/arch/auto/Lucene/Lucene.so g++ -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic Lucene.o -o blib/arch/auto/Lucene/Lucene.so \ -lstdc++ \ chmod 755 blib/arch/auto/Lucene/Lucene.so cp Lucene.bs blib/arch/auto/Lucene/Lucene.bs chmod 644 blib/arch/auto/Lucene/Lucene.bs Manifying blib/man3/Lucene.3pm $ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.... # Failed test 'use Lucene;' # in t/00-load.t at line 6. # Tried to use 'Lucene'. # Error: Can't load '/var/tmp/Lucene-0.18/blib/arch/auto/Lucene/Lucene.so' for module Lucene: /var/tmp/Lucene-0.18/blib/arch/auto/Lucene/Lucene.so: undefined symbol: _ZN6lucene8analysis11TokenFilter5closeEv at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230. # at (eval 3) line 2 # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at t/00-load.t line 6. t/00-load....NOK 1# Testing Lucene 0.18, Perl 5.008008, /usr/bin/perl # Looks like you failed 1 test of 1. t/00-load....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/00-load.t 1 256 1 1 100.00% 1 Failed 1/1 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay. make: *** [test_dynamic] Error 1 Help would be appreciated. Regards Niko
Subject: Re: [rt.cpan.org #64769] AutoReply: Lucene on Centos / No library found for -lclucene
Date: Fri, 21 Jan 2011 23:21:08 +0100
To: bug-Lucene [...] rt.cpan.org
From: Niko Oeppert <n.oeppert [...] master-productions.com>
ok, seems to be a configuration thing, although at the moment I donĀ“t know which one this helped me: http://g2labo.blogspot.com/