LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-30-2013, 05:27 PM   #1
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Unhappy BLFS strigi-0.7.8 error


Having trouble getting strigi-0.7.8 built.

I've met all the depenedencies both required, recommended, and optional and currently, I'm stuck at this part due to some unknown problem:

Code:
[ 79%] Built target xbm
[ 80%] Built target cluceneng
[ 80%] Built target lucene2indexer
Linking CXX executable index2dump
Scanning dependencies of target libdeepfind
[ 81%] Building CXX object strigiutils/bin/deepfind/CMakeFiles/libdeepfind.dir/deepfind.cpp.o
/usr/bin/ld: CMakeFiles/index2dump.dir/indexdump.cpp.o: undefined reference to symbol '_ZN6lucene4util14atomic_threads16atomic_decrementEPj'
/usr/bin/ld: note: '_ZN6lucene4util14atomic_threads16atomic_decrementEPj' is defined in DSO /usr/lib/libclucene-shared.so.1 so try adding it to the linker command line
/usr/lib/libclucene-shared.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
libstreamanalyzer/plugins/indexers/clucenengindexer/indexdump/CMakeFiles/index2dump.dir/build.make:120: recipe for target 'libstreamanalyzer/plugins/indexers/clucenengindexer/indexdump/index2dump' failed
make[2]: *** [libstreamanalyzer/plugins/indexers/clucenengindexer/indexdump/index2dump] Error 1
CMakeFiles/Makefile2:1353: recipe for target 'libstreamanalyzer/plugins/indexers/clucenengindexer/indexdump/CMakeFiles/index2dump.dir/all' failed
make[1]: *** [libstreamanalyzer/plugins/indexers/clucenengindexer/indexdump/CMakeFiles/index2dump.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX static library liblibdeepfind.a
[ 81%] Built target libdeepfind
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
Does anyone know how to fix or repair this? I'm stuck building package kdelibs-4.11.4 at the moment and strigi-0.7.8 is one of the required dependencies and can not proceed.
 
Old 12-30-2013, 07:11 PM   #2
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
make missed linking against clucene, so add -lclucene-shared (-lclucene-core too, but the problem is with shared) to cmake : -DCMAKE_SHARED_LINKER_FLAGS="-lclucene-shared"
 
1 members found this post helpful.
Old 12-30-2013, 07:55 PM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Thanks a plenty. Built perfectly.

I've been cataloging my own copy of the BLFS book making amendments to the book as I come across errors as such. Hopefully, most of this can be resubmitted back to the BLFS SVN to help out.

Last edited by ReaperX7; 12-30-2013 at 08:13 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [BLFS] libxslt-1.1.28 : SaxReaderNotAvailable Error DeeGee Linux From Scratch 7 05-28-2013 09:14 PM
error in libX11 in blfs ankit0301 Linux From Scratch 26 05-02-2012 12:36 AM
Autofs-5.0.5 from BLFS Error BrandonJ Linux From Scratch 7 06-08-2011 12:22 PM
BLFS Libxml2-2.6.20 compile error hbinded Linux From Scratch 1 05-31-2006 10:13 AM
error when compiling vim 6.1 in BLFS NeoAnderson Linux From Scratch 0 06-09-2003 06:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration