You are not logged in.

#1 2013-10-18 14:53:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

[SOLVED] [community]/notmuch and [community]/xapian-core ver mismatch

Notmuch just started failing on me with the following error:

notmuch: error while loading shared libraries: libxapian.so.22: cannot open shared object file: No such file or directory

Pkgfile indicated that the lib belonged to xapian-core, however it no longer found it after I ran `pkgfile -u` which suggests the lib belonged to a previous version of xapian-core.

I cheked my pacman logs and saw that xapian-core was upgraded yesterday from 1.2.15-1 to 1.3.1-1.  A downgrade to 1.2.15.1 allowed notmuch to work again as expected.

I don't know if this would be better considered a bug in notmuch or xapian-core, or if I may be missing something more basic, but it seems the versions in [community] are not properly in sync with each other.

Last edited by Trilby (2013-10-18 18:47:44)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#2 2013-10-18 15:09:37

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,406
Website

Re: [SOLVED] [community]/notmuch and [community]/xapian-core ver mismatch

File a bug report against notmuch, it needs rebuilding.

In the meantime, you can rebuild it yourself, you'll need to add "export XAPIAN_CONFIG=xapian-config-1.3" before the configure call in the PKGBUILD for it to build correctly, by default, it uses xapian-config, but that no longer exists in the updated xapian-core package.

It builds fine, but I can't comment on it's usability.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2013-10-18 18:35:18

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] [community]/notmuch and [community]/xapian-core ver mismatch

Thanks, I'll open a bug report, but I'd like to be able to get a working patch.  Notmuch will indeed build fine with that addition to the PKGBUILD, but it will fail to run (same error as in first post). (edit, it will run, but I had only installed the newly built notmuch package, not the notmuch-runtime).

EDIT: My google-fu was weak, a bugreport already exists here.  Hopefully this thread will help other stumped users find the relevant info though.

-----

While the package rebuild is still pending, as all the needed information has been gathered and a bug report has been filed, I consider the issue solved so I'll mark it as such.

EDIT: follow-up, it seems the xapian-core package has been downgraded in [community], presumably until notmuch is rebuilt against the new libs.

Last edited by Trilby (2013-10-18 20:52:56)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB