FS#27556 - [clucene] pkgconfig does not list all required libraries
Attached to Project:
Community Packages
Opened by Alex Merry (pippin) - Tuesday, 13 December 2011, 19:26 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 17 January 2012, 11:21 GMT
Opened by Alex Merry (pippin) - Tuesday, 13 December 2011, 19:26 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 17 January 2012, 11:21 GMT
|
Details
Description:
clucene's pkgconfig file only lists clucene-core as a library that needs linking to. However, clucene-shared is also required (for the lucene::util::atomic_threads::atomic_decrement symbol, for example). Previously, this would be dragged in automatically, since it is linked by clucene-core, but the behaviour of ld has apparently been changed to not do this any more. Additional info: * package version(s) clucene 2.3.3.4-1 binutils 2.22-2 * config and/or log files etc. Steps to reproduce: Try to compile libstreamanalyzer from KDE's git repos, for example. |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Tuesday, 17 January 2012, 11:21 GMT
Reason for closing: Fixed
Tuesday, 17 January 2012, 11:21 GMT
Reason for closing: Fixed
/usr/bin/ld: CMakeFiles/index2dump.dir/indexdump.cpp.o: undefined reference to symbol 'lucene::util::atomic_threads::atomic_decrement(unsigned int*)'
/usr/bin/ld: note: 'lucene::util::atomic_threads::atomic_decrement(unsigned int*)' 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: ld returned 1 exit status
Is this really a packaging bug, or should this be reported upstream?
http://sourceforge.net/tracker/?func=detail&aid=3461512&group_id=80013&atid=558446