Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#105 liblibrdfindexer.so, liblibxmlindexer.so never installed

open
nobody
None
5
2010-11-24
2010-11-24
No

When building strigi from current kdesupport svn, liblibrdfindexer.so and liblibxmlindexer.so are built but never installed.

Furthermore, rdfindexer and xmlindexer (which is actually installed by make install) link to liblibrdfindexer.so and liblibxmlindexer.so - causing unfulfillable dependencies.

I'm not overly familiar with strigi internals, but I think strigiutils/bin/xmlindexer/CMakeList.txt should have
install(TARGETS libxmlindexer LIBRARY DESTINATION ${LIB_DESTINATION}/strigi)
install(TARGETS librdfindexer LIBRARY DESTINATION ${LIB_DESTINATION}/strigi)
and probably libxmlindexer should be renamed to strigiindex_xml and librdfindexer should be renamed to strigiindex_rdf?

If libxmlindexer and librdfindexer aren't meant to be used by anything else, probably they should just be built as static libs instead. (In that case they wouldn't need to be installed)

Discussion

  • I haven't been able to reproduce the unfulfillable dependencies part with a recent git checkout -- `ldd' does not tell me xmlindexer and rdfindexer link directly to these libs.

     
  • arekm
    arekm
    2011-07-27

    strigi 0.7.5:

    $ ldd xmlindexer
    linux-vdso.so.1 => (0x00007fffe71ff000)
    liblibxmlindexer.so => not found
    libc.so.6 => /lib64/libc.so.6 (0x00007fa039609000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fa039998000)
    $ ldd rdfindexer
    linux-vdso.so.1 => (0x00007fff4773b000)
    liblibrdfindexer.so => not found
    libc.so.6 => /lib64/libc.so.6 (0x00007faf751d0000)
    /lib64/ld-linux-x86-64.so.2 (0x00007faf7555f000)

    These still not installed.

     
  • arekm
    arekm
    2011-07-27

    --- strigi-0.7.5/strigiutils/bin/xmlindexer/CMakeLists.txt~ 2011-04-23 13:00:17.000000000 +0200
    +++ strigi-0.7.5/strigiutils/bin/xmlindexer/CMakeLists.txt 2011-07-27 10:22:05.164488881 +0200
    @@ -1,11 +1,11 @@
    -add_library(librdfindexer
    +add_library(librdfindexer STATIC
    rdfindexer.cpp
    tagmapping.cpp
    rdfindexwriter.cpp
    )
    target_link_libraries(librdfindexer ${LIBSTREAMANALYZER_LIBRARIES} ${LIBSTREAMS_LIBRARIES})

    -add_library(libxmlindexer
    +add_library(libxmlindexer STATIC
    xmlindexer.cpp
    tagmapping.cpp
    xmlindexwriter.cpp