This patches the zebra configuration so that their modulePath will work on Fedora (CentOS) based systems out of the box. Similar to bug 14106, this simply adjusts the modulePath to search in the well-known location for 64 bit systems. Required for at least Fedora.
Created attachment 45896 [details] [review] Adjust modulePath in zebra config to also work on 64 bit non-debian boxes
Nice one, Nicholas. This is also an issue on openSUSE. We just made a symlink between /usr/lib/idzebra-2.0 and /usr/lib64/idzebra-2.0 to get around this issue, but it would be good to have this properly fixed via this patch. I haven't tested this, as I don't have time at the moment, but it looks good at a glance. Very helpful patch.
Thanks David - let's hope someone can sign off on it soon! :-)
(In reply to Nicholas van Oudtshoorn from comment #3) > Thanks David - let's hope someone can sign off on it soon! :-) I'll put it on my "to do" list for the New Year, but hopefully someone gets to it before I try to find the time!
Created attachment 45960 [details] [review] Bug 15405 - XML paths to zebra libraries is wrong for 64-bit installs on non-Debian linux Adjusts the modulePath to search in the well-known location for 64 bit systems. Required for at least Fedora. Test plan: Without this patch, doing a zebra reindex on a fedora-based install will cause errors like this: 15:10:47-01/05 zebraidx(16108) [warn] No such record type: dom./etc/koha/zebradb/biblios/etc/dom-config.xml With this patch, reindexing should just work. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> I have tested this doesn't break on debian/ubuntu systems, someone with a non debian system will need to test it on that
*** Bug 6849 has been marked as a duplicate of this bug. ***
Waiting for another signoff from someone using a non debian-based system.
(In reply to Jonathan Druart from comment #7) > Waiting for another signoff from someone using a non debian-based system. This just adds one extra path to modulepath. It should not break anything (as confirmed by one signoff at least). I would favor passing QA if the non-debian user does not show up in reasonable time. (Unfortunately I gave up Fedora recently..)
(In reply to Jonathan Druart from comment #7) > Waiting for another signoff from someone using a non debian-based system. It works on openSUSE Leap 42.1 Signed-off-by: Bob Ewart bob-ewart@bobsown.net
(In reply to Bob Ewart from comment #9) > (In reply to Jonathan Druart from comment #7) > > Waiting for another signoff from someone using a non debian-based system. > > It works on openSUSE Leap 42.1 > > Signed-off-by: Bob Ewart bob-ewart@bobsown.net make that bob-ewart@bobsown.com
Thx Bob!
Created attachment 45993 [details] [review] Bug 15405 - XML paths to zebra libraries is wrong for 64-bit installs on non-Debian linux Adjusts the modulePath to search in the well-known location for 64 bit systems. Required for at least Fedora. Test plan: Without this patch, doing a zebra reindex on a fedora-based install will cause errors like this: 15:10:47-01/05 zebraidx(16108) [warn] No such record type: dom./etc/koha/zebradb/biblios/etc/dom-config.xml With this patch, reindexing should just work. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> I have tested this doesn't break on debian/ubuntu systems, someone with a non debian system will need to test it on that Signed-off-by: Bob Ewart bob-ewart@bobsown.com It works on openSUSE Leap 42.1 Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Just noting that the debian zebra files already contain much more paths here.
Pushed to master, thanks Nicholas!
Patch pushed to 3.22.x, will be in 3.22.2
This patch has been pushed to 3.20.x, will be in 3.20.8.