dglent writes

I have Mageia 3 64bit and KDE 4.10.5 and i tried the version 1.19.9 of recoll and the kio_recoll doesnt work In version 1.18.1 it works

I have the follow message in .xsessionerrors

konqueror(22678)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::ListJob(0x7c5d2a0) QObject(0x0) konqueror(22678)/kurifilter (plugins) KShortUriFilter::filterUri: "recoll:lala" konqueror(22678)/kurifilter KUriFilterPlugin::setFilteredUri: Got filtered to: KUrl("recoll:lala") konqueror(22678)/kurifilter (plugins) KUriSearchFilter::filterUri: "recoll:lala" konqueror(22678)/kurifilter (plugins) LocalDomainUriFilter::filterUri: "recoll:lala" konqueror(22678)/kurifilter (plugins) FixHostUriFilter::filterUri: "recoll:lala" konqueror(22678)/kurifilter (plugins) FixHostUriFilter::filterUri: url: KUrl("recoll:lala") type: 0 konqueror(22678)/kurifilter (plugins) KAutoWebSearch::filterUri: "recoll:lala" konqueror(22678)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x8dd9f30) konqueror(22678)/kio (Slave) KIO::Slave::createSlave: createSlave "recoll" for KUrl("recoll:lala") konqueror(22678)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on "local:/tmp/ksocket-dglent/konquerorz22678.slave-socket" klauncher(1450)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave "kio_recoll" with protocol= "recoll" args= ("recoll", "local:/tmp/ksocket-dglent/klauncherMT1450.slave-socket", "local:/tmp/ksocket-dglent/konquerorz22678.slave-socket") Could not open library /usr/lib64/kde4/kio_recoll.so. Cannot load library /usr/lib64/kde4/kio_recoll.so: (librecoll.so.1.19.5: cannot open shared object file: No such file or directory) klauncher(1450)/kio (KLauncher) KLauncher::processRequestReturn: "kio_recoll" failed. konqueror(22678): couldn’t create slave: "Impossible to create io-slave: klauncher said: Error loading kio_recoll. " konqueror(22678)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::StatJob(0x8dd9f30) QObject(0x0) konqueror(22678)/kparts KParts::BrowserRun::slotStatResult: "Could not start proccess Could not create io-slave: το klauncher είπε: Error loading kio_recoll. ." konqueror(22678)/konqtree KonqSidebarTree::followURL: "error:/?error=103&errText=%CE%91%CE%B4%CF%8D%CE%BD%CE%B1%CF%84%CE%B7%20%CE%B7%20%CE%B4%CE%B7%CE%BC%CE%B9%CE%BF%CF%85%CF%81%CE%B3%CE%AF%CE%B1%20io-slave%3A%0A%CF%84%CE%BF%20klauncher%20%CE%B5%CE%AF%CF%80%CE%B5%3A%20%CE%A3%CF%86%CE%AC%CE%BB%CE%BC%CE%B1%20%CF%86%CF%8C%CF%81%CF%84%CF%89%CF%83%CE%B7%CF%82%20%CF%84%CE%BF%CF%85%20%27kio_recoll%27.%0A#recoll:lala" konqueror(22678)/konqtree KonqSidebarTree::followURL: Not found konqueror(22678)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "text/html" , "Application" : returning 8 offers konqueror(22678)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "text/html" , "KParts/ReadOnlyPart" : returning 3 offers konqueror(22678)/kdecore (KLibrary) findLibraryInternal: plugins should not have a lib prefix: "libkhtmlpart.so" konqueror(22678)/khtml (part) KHTMLPart::openUrl: KHTMLPart(0x363cb00) opening KUrl("error:/?error=103&errText=%CE%91%CE%B4%CF%8D%CE%BD%CE%B1%CF%84%CE%B7%20%CE%B7%20%CE%B4%CE%B7%CE%BC%CE%B9%CE%BF%CF%85%CF%81%CE%B3%CE%AF%CE%B1%20io-slave%3A%0A%CF%84%CE%BF%20klauncher%20%CE%B5%CE%AF%CF%80%CE%B5%3A%20%CE%A3%CF%86%CE%AC%CE%BB%CE%BC%CE%B1%20%CF%86%CF%8C%CF%81%CF%84%CF%89%CF%83%CE%B7%CF%82%20%CF%84%CE%BF%CF%85%20%27kio_recoll%27.%0A#recoll:lala") konqueror(22678)/khtml (part) KHTMLPart::htmlError: errorCode 103 text "Could not create io-slave: klauncher said: Error in loading of kio_recoll.

i tried to symling the library of /usr/lib64/recoll/ to /usr/lib64/kde4/ i have the same errors except the message about the missing library

medoc writes

The problem was that the kio was not finding the recoll library in /usr/lib64/librecoll.so

As I don’t know how to fix this in cmake, the current approach is to link the kio with the static lib. The fix was to modify the spec file to delete the dynamic library from the build tree before building the kio, to force a static link.